Closed
Bug 1835361
Opened 1 years ago
Closed 1 year ago
Translations panel does not receive keyboard focus when activated with Enter/Space
Categories
(Firefox :: Translations, defect, P2)
Firefox
Translations
Tracking
()
Tracking | Status | |
---|---|---|
firefox116 | --- | fixed |
People
(Reporter: ayeddi, Assigned: gregtatum)
References
(Blocks 1 open bug)
Details
(Keywords: access)
Attachments
(3 files)
STR:
- Ensure that Translations are activated via
browser.translations.enable=true
. - On a translatable website, navigate to the awesomebar. Press
Tab
once to move the focus to PiP control (if present) and then (if needed) useRight Arrow
key to focus theTranslate this page
toggle - Press
Space
orEnter
to open a Translations panel - When the panel is opened, locate the keyboard focus position
Expected:
- The focus is moved to the panel and the gear image button (
Manage translation settings
) is focused
Actual:
- The keyboard focus remains on the toggle button. Screen reader user may not be aware of the panel being opened (i.e. an NVDA screen reader on Windows does not announce anything)
Notes:
- pressing
Tab
once or pressingDown Arrow
key would move the focus to the panel, thus the panel could be reached by a keyboard-only user, but this is a workaround and not an expected behavior, thus an a11y-S3 severity - Good example: Identity panel toggle (
View site information
)
Comment 1•1 years ago
|
||
:ayeddi, if you think that's a regression, could you try to find a regression range using for example mozregression?
Assignee | ||
Updated•1 years ago
|
Priority: -- → P2
Updated•1 years ago
|
Accessibility Severity: --- → s3
Whiteboard: [access-s3]
Assignee | ||
Updated•1 year ago
|
Assignee: nobody → gtatum
Assignee | ||
Comment 2•1 year ago
|
||
Assignee | ||
Comment 3•1 year ago
|
||
These were needed due to a bug in the button implementation that has
since been fixed. I don't have the bug number, but I received this
feedback in a review, but the other bug hadn't landed yet.
Depends on D180986
Pushed by gtatum@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/84929281473b
Pass keypress events to the translations openPopup to fix focus issue; r=nordzilla
https://hg.mozilla.org/integration/autoland/rev/77e98ee54f42
Drive by remove unneeded tabindex=0 attributes; r=nordzilla
Comment 5•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/84929281473b
https://hg.mozilla.org/mozilla-central/rev/77e98ee54f42
Status: NEW → RESOLVED
Closed: 1 year ago
status-firefox116:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch
Reporter | ||
Comment 6•1 year ago
|
||
I confirmed the expected keyboard behavior with and without screen reader running on macOS and Windows OS - the bug is fixed. Thanks a lot, Greg!
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•