Open Bug 1658056 Opened 4 months ago Updated 2 months ago

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

Categories

(Toolkit :: Password Manager, defect, P2)

All
Unspecified
defect

Tracking

()

People

(Reporter: severin, Unassigned)

Details

(Keywords: access, Whiteboard: [access-s3])

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
You need to log in before you can comment on or make changes to this bug.