Show password button in native password inputs are not keyboard-accessible
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
People
(Reporter: braille_kinds3u, Unassigned)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file)
|
13.72 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:144.0) Gecko/20100101 Firefox/144.0
Steps to reproduce:
- Visit a page with a native password input (
<input type="password">), such as its MDN page. - Focus the password input via the
Tabkey. - Type in at least 1 character. Note that a show password button appears in the right side of the input (shown in the attached screenshot).
- Press
Tabagain. Note that the show password button is skipped over.
Actual results:
The show password button cannot be controlled by keyboard users, while it can be controlled via mouse or touchscreen tap. This appears to violate Success Criteria 2.1.1 and 4.1.2 of the Web Content Accessibility Guidelines.
Expected results:
Either the show password button needs to be a "tab stop" or otherwise be intractable for keyboard-only users. This is also important for users of assistive technologies like switches.
Comment 1•1 year ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox for Android::General' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•1 year ago
|
||
Form? a11y?
Comment 3•1 year ago
•
|
||
Firefox's reveal-password button is not enabled by default; it's an experimental feature which is known to not yet be production-ready for several reasons. It's hidden behind about:config pref layout.forms.reveal-password-button.enabled (which defaults to false). (It's also not being actively worked on at the moment, but bug 1743046 is filed on getting it enabled in Nightly when it's ready; I'll tentatively mark this bug as blocking that bug.)
Reporter: on the machine where you're seeing this button on e.g. MDN, could you visit about:config and search for that preference name? It presumably will show up with the value true (and bold, to indicate that it's non-default). If you toggle that preference back to false by double-clicking on it, this button won't show up in password fields anymore.
Comment 4•1 year ago
|
||
But also this was done intentionally so that you don't need two tabs to move to the next field. You can reveal the password with the keyboard via the context menu.
Description
•