Closed Bug 1650117 Opened 5 years ago Closed 5 years ago

Focused AB context menu button in Contacts Sidebar cannot be pressed with keyboard

Categories

(Thunderbird :: Message Compose Window, defect)

defect

Tracking

(thunderbird_esr78 fixed)

RESOLVED FIXED
Thunderbird 80.0
Tracking Status
thunderbird_esr78 --- fixed

People

(Reporter: thomas8, Assigned: thomas8)

Details

(Whiteboard: [TM:78.1.1])

Attachments

(1 file, 1 obsolete file)

Whilst we now allow the AB context menu button (≡) in Contacts Side Bar to be focused (which makes sense), there's nothing users can do with that focus. Pressing Enter or spacebar on the button does nothing, only clicking works.

Attached patch 1650117_abContextMenuButton.diff (obsolete) — Splinter Review

5-minutes-review ;-)
Simple fix, and normalize distribution between layout layer and code layer.

Attachment #9160958 - Flags: review?(alessandro)
Comment on attachment 9160958 [details] [diff] [review] 1650117_abContextMenuButton.diff Review of attachment 9160958 [details] [diff] [review]: ----------------------------------------------------------------- Lovely, thank you so much ::: mail/components/addrbook/content/abContactsPanel.js @@ +23,5 @@ > + event.target, > + "after_end", > + 0, > + 0, > + true linting nit, add comma after the last attribute.
Attachment #9160958 - Flags: review?(alessandro) → review+

trailing comma after last member of array added

Attachment #9160958 - Attachment is obsolete: true
Attachment #9161104 - Flags: review+
Target Milestone: --- → Thunderbird 80.0

Pushed by alessandro@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/ad0edca25dcc
Fix keyboard access to abContextMenuButton in Contacts Sidebar. r=aleca

Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Comment on attachment 9161104 [details] [diff] [review] 1650117_abContextMenuButton.diff [Approval Request Comment] Regression caused by (bug #): not a regression User impact if declined: AB context menu button not keyboard accessible Testing completed (on c-c, etc.): yes, on C-C Risk to taking this patch (and alternatives if risky): near zero (mini patch which changed onclick to oncommand)
Attachment #9161104 - Flags: approval-comm-esr78?

Missed beta, so deferring to 78.1.1

Whiteboard: [TM:78.1.1]
Comment on attachment 9161104 [details] [diff] [review] 1650117_abContextMenuButton.diff [Triage Comment] Approved for esr78
Attachment #9161104 - Flags: approval-comm-esr78? → approval-comm-esr78+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: