Closed
Bug 1703169
Opened 3 years ago
Closed 3 years ago
XUL buttons labelled by a text child don't expose label for 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
(Blocks 1 open bug)
Details
Attachments
(1 file)
The new browser info bars (pref: browser.proton.infobars.enabled) contain XUL buttons with no <label>
child or label attribute. Rather, they contain a text node set using .textContent. The a11y engine doesn't currently handle this, so these buttons are unlabelled.
Assignee | ||
Comment 1•3 years ago
|
||
Previously, text children were excluded from the a11y tree, so they weren't considered when computing name from subtree.
Updated•3 years ago
|
Whiteboard: [proton-infobars]
Updated•3 years ago
|
See Also: → https://jira.mozilla.com/browse/FIDEFE-1041
Comment 2•3 years ago
|
||
This seems like a useful change, but in bug 1702327 I updated the buttons to set the label
rather than textContent
. This seems to have fixed bug 1702962 for me, so this likely isn't blocking proton any more.
Jamie, is this still needed for proton?
Flags: needinfo?(jteh)
Assignee | ||
Comment 3•3 years ago
|
||
No, it's no longer needed for Proton.
Updated•3 years ago
|
See Also: https://jira.mozilla.com/browse/FIDEFE-1041 →
Pushed by jteh@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/56d5a7ead1f0 Support XUL buttons labelled by text children. r=morgan
Comment 5•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
•