Open Bug 1658056 Opened 4 years ago Updated 2 years ago

[Doorhanger V2] 'enter' key on doorhanger suggestion closes the doorhanger

Categories

(Toolkit :: Password Manager, defect, P2)

All
Unspecified
defect

Tracking

()

Accessibility Severity s3

People

(Reporter: severin, Unassigned)

Details

(Keywords: access)

When navigating the password manager doorhanger autocomplete suggestions via keyboard, pressing 'enter' should select the currently focused suggestion, fill it into the input, close the popup, and make no other changes. Currently all of the above happens, but the doorhanger is saved/updated as well. This makes it difficult to select values via the keyboard, making this an important accessibility problem.

Additional acceptance criterion: the patch that fixes this should also update browser_doorhanger_submit_telemetry.js to select suggestions using the keyboard (instead of EventUtils.synthesizeMouseAtCenter), and remove skipif linux from that test.

Severity: -- → S3
Keywords: access
Priority: -- → P2

You can probably call event.stopPropagation() from an event listener on the <input> to fix this as one option. The ideal solution would be to consume the event when the popup is open and enter closes it.

Whiteboard: [access-s3]
Assignee: severinrudie → nobody
Accessibility Severity: --- → s3
Whiteboard: [access-s3]
You need to log in before you can comment on or make changes to this bug.