Closed
Bug 1703171
Opened 3 years ago
Closed 3 years ago
accesskey inside shadow DOM not exposed to a11y
Categories
(Core :: Disability Access APIs, defect, P1)
Core
Disability Access APIs
Tracking
()
RESOLVED
FIXED
89 Branch
Tracking | Status | |
---|---|---|
firefox89 | --- | fixed |
People
(Reporter: Jamie, Assigned: Jamie)
References
Details
Attachments
(1 file)
STR:
- Open this URL:
data:text/html, <div id="host"></div> <script> const shadow = host.attachShadow({mode: "open"}); shadow.innerHTML = '<button accesskey="t">Test</button>'; </script>
- Right click the button and choose "Inspect Accessibility Properties".
- Check the keyboardShortcut property.
- Expected: "alt+shift+t"
- Actual: ""
This causes problems for the new browser info bars (pref: browser.proton.infobars.enabled) because the notification buttons are inside shadow DOM.
Assignee | ||
Comment 1•3 years ago
|
||
Previously, when determining the modifier, the code used the uncomposed document, which will be null for an element inside shadow DOM.
Pushed by jteh@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d2f40c7c26cd Support a11y exposure of accessKey for elements in shadow DOM. r=morgan
Comment 3•3 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 3 years ago
status-firefox89:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•