Closed
Bug 1509767
Opened 6 years ago
Closed 5 years ago
Keyboard activation (space/enter) of Back/Forward buttons when focused
Categories
(Firefox :: Toolbars and Customization, defect, P1)
Firefox
Toolbars and Customization
Tracking
()
RESOLVED
FIXED
Firefox 66
Tracking | Status | |
---|---|---|
firefox66 | --- | fixed |
People
(Reporter: Jamie, Assigned: Jamie)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
When made focusable (for toolbar keyboard navigation), the Back and Forward buttons cannot be activated by pressing space or enter. Although they do have a command event handler, they have type="menu", which means the command event is not fired for key presses. Changing this for type="menu" is controversial at best, since space should arguably open the menu in this case (and I think it does on the Mac). Because the Back/Forward buttons have a bit of an identity crisis in this respect, I think it's best to just implement keyboard behaviour specifically for these buttons.
Assignee | ||
Comment 1•6 years ago
|
||
When focused, the Back and Forward buttons previously couldn't be activated by pressing space or enter. Although they do have a command event handler, they have type="menu", which means the command event is not fired for key presses by default. Since these buttons are special (in that they have type="menu" and a command event), this change implements specific keyboard behavior for these buttons.
Updated•6 years ago
|
Assignee: nobody → jteh
Status: NEW → ASSIGNED
Priority: -- → P1
Pushed by jteh@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/dbaf671d5e84 Support keyboard activation (space/enter) of the Back/Forward buttons when focused. r=Gijs
Comment 3•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/dbaf671d5e84
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox66:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 66
You need to log in
before you can comment on or make changes to this bug.
Description
•