[contextual-password-manager] "Close Without Saving?" warning loses focus when Tab is pressed
Categories
(Toolkit :: Password Manager, defect, P3)
Tracking
()
People
(Reporter: epopescu, Assigned: rsafaeian, NeedInfo)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fxcm-cpm-milestones-3-4])
Attachments
(1 file)
Found in
- Nightly 136.0a1
Affected versions
- Nightly 136.0a1
Tested platforms
- Affected platforms: Windows 11, macOS 13 ARM, Ubuntu 22.04
- Unaffected platforms: none
Preconditions:
- Set pref browser.contextual-password-manager.enabled to true in about:config
- Enable Sidebar
- Have several saved password records
Steps to reproduce
- Start editing an entry and attempt to close the sidebar without saving
- Press the Tab key when the "Close without saving?" warning appears
- Observe where the focus moves.
Expected result
- Pressing Tab should focus the "Confirm" and "Go Back" buttons when the "Close without saving?" warning appears.
Actual result
- Pressing Tab moves focus to the web content making it harder to navigate the warning dialog using the keyboard.
Regression range
- N/A
Additional notes
- Please see the screen recording.
| Reporter | ||
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
I am also able to reproduce this for the duplicate notification as well, using Firefox 138.0b5.
| Assignee | ||
Comment 2•1 year ago
|
||
Updated•1 year ago
|
Comment 4•1 year ago
|
||
Backed out for causing geckoview failures.
Backout link: https://hg-edge.mozilla.org/integration/autoland/rev/8f95b50b5d5ea28aeb3434e2e3ad6573a45df9a6
Failure log:
https://treeherder.mozilla.org/logviewer?job_id=504528154&repo=autoland&lineNumber=13166
https://treeherder.mozilla.org/logviewer?job_id=504533095&repo=autoland&lineNumber=13050
Updated•1 year ago
|
Comment 5•1 year ago
|
||
There is an r+ patch which didn't land and no activity in this bug for 2 weeks.
:rsafaeian, could you have a look please?
If you still have some work to do, you can add an action "Plan Changes" in Phabricator.
For more information, please visit BugBot documentation.
Updated•1 year ago
|
Updated•10 months ago
|
Comment 7•10 months ago
|
||
| bugherder | ||
Updated•10 months ago
|
| Reporter | ||
Comment 8•9 months ago
|
||
There's a difference in how Tab and Shift+Tab work on and Windows when the "Close without saving?" and duplicate password notifications are shown in the Passwords panel.
- On macOS and Ubuntu, pressing Tab can move focus to the X button (to close the panel) first, then through the notification buttons and the edit form. After reaching the edit form, the X button can only be reached again with Shift+Tab.
- On Windows, pressing Tab moves focus through the notification buttons and edit form, but not the X button. It’s only reachable with Shift+Tab. When the duplicate warning is shown, focus first goes to the Cancel button, then to the "Go to password" button inside the notification.
Should the "X" button to close the Passwords panel be reachable using Tab while notifications are present, as it is on macOS and Ubuntu?
Please see the following recording taken on macOS 15 showing this behavior( first using Tab, then using Shift+Tab to reach the X button again). Let me know if any other details are needed. Thank you.
Description
•