Add a "press tab to highlight each item on a web page" checkbox preference UI
Categories
(Firefox :: Keyboard Navigation, enhancement)
Tracking
()
People
(Reporter: asa, Assigned: morgan)
References
Details
(Keywords: access, papercut)
Attachments
(1 file)
The macOS System pref for "Use keyboard navigation to move focus between controls" is unchecked by default, meaning Mac only allows tabbing between text fields and pop-up menus by default. Firefox (mostly) respects this preference and so excludes links when navigating web content in Firefox with the Tab key.
This default is not great for people trying to use web pages with the keyboard only. To get your tab key to move though all interactive controls in web pages, including links, you have to go to System Preferences -> Keyboard -> Shortcuts and check the box for "Use keyboard navigation to move focus between controls". Firefox must be restarted to pick up changes to this pref (ugh!). Most keyboard users don't know about this System pref and think Firefox's behavior is simply broken.
In Safari there is an off by default pref that overrides the System pref at Safari -> Safari Preferences -> Advanced -> "Press Tab to highlight each option on a web page". (When not checked, Safari can highlight additional items on web pages by holding Option when hitting the Tab key. When the preference in Safari is checked, the Option key is then reversed and used to limit highlighting to just text boxes and pop-up menus.)
Firefox should implement a similar preference to what Safari has, a checkbox that overrides the macOS System preference. Firefox should default this preference to checked so that the Tab key navigates all interactive controls on a web page. Users who wish to have the limited tabbing behavior can uncheck the Firefox preference.
A follow-up bug could be to implement Safari's Option key toggling but that should not block this bug.
Steps to reproduce:
- With a default macOS environment, open Firefox and load a web page with links and form controls.
- Use the tab key to navigate the web page.
Results:
Firefox only navigates between the form controls on the page.
Expected Results:
Firefox navigates all interactive controls on the page including links.
Reporter | ||
Comment 1•5 years ago
|
||
This preference would be macOS-only and probably live in the "Browsing" section of the "General" Preferences.
Updated•5 years ago
|
Reporter | ||
Comment 2•5 years ago
|
||
Updating the Accessibility Team's impact assessment to conform with the new triage guidelines. See https://wiki.mozilla.org/Accessibility/Triage for descriptions of these whiteboard flags.
Comment 4•4 years ago
|
||
Adjusting summary to make this easier to find in searches.
Updated•2 years ago
|
Updated•1 years ago
|
Assignee | ||
Comment 8•1 year ago
•
|
||
FWIW setting accessibility.tabfocus
to 4 or 7 seems to support the behaviour we're after (links and controls focusable, despite the OS setting)
Assignee | ||
Comment 9•1 year ago
|
||
Here's a simplified test case: data:text/html,hello world<br><button>hello</button><br><a href="google.com">world</a><br><select><option>hello</option><option>world</option></select>
Assignee | ||
Comment 10•1 year ago
|
||
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Comment 11•1 year ago
|
||
Comment 12•1 year ago
|
||
Backed out for causing multiple bc failures.
- Backout link
- Push with failures
Multiple failure logs: https://treeherder.mozilla.org/logviewer?job_id=422730101&repo=autoland , https://treeherder.mozilla.org/logviewer?job_id=422729771&repo=autoland etc. please open the push with failures link.
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 13•1 year ago
|
||
Comment 14•1 year ago
|
||
Comment 15•1 year ago
|
||
bugherder |
Comment 16•1 year ago
|
||
Should we add this to the Fx117 relnotes? Please add the relnote-firefox?
nomination if yes!
Assignee | ||
Comment 17•1 year ago
|
||
Release Note Request (optional, but appreciated)
[Why is this notable]: macOS users now have the ability to control their focus settings in firefox independent of their system focus settings -- the system setting is difficult to find and understand, and we hope this pref is easier/more visibile to users. this also opens the door to standardizing focus behaviour across operating systems, see folliow up bug about defaulting this to "on"
[Affects Firefox for Android]: No
[Suggested wording]: macOS users can now control the tabability of controls and links via about:preferences
[Links (documentation, blog post, etc)]:
Updated•1 year ago
|
Description
•