Open Bug 1999052 Opened 1 year ago Updated 11 months ago

Show password button in native password inputs are not keyboard-accessible

Categories

(Core :: Layout: Form Controls, defect)

Firefox 144
defect

Tracking

()

UNCONFIRMED

People

(Reporter: braille_kinds3u, Unassigned)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:144.0) Gecko/20100101 Firefox/144.0

Steps to reproduce:

  1. Visit a page with a native password input (<input type="password">), such as its MDN page.
  2. Focus the password input via the Tab key.
  3. 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).
  4. Press Tab again. 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.

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.

Component: Untriaged → General
Product: Firefox → Firefox for Android

Form? a11y?

Component: General → Layout: Form Controls
Product: Firefox for Android → Core

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.

Blocks: 1743046
Severity: -- → S3

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.

Blocks: 2002950
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: