[a11y] Button does not expose the expanded/collapsed state of its associated panel to screen reader users.
Categories
(Core :: Machine Learning: Frontend, defect)
Tracking
()
| Accessibility Severity | s2 |
People
(Reporter: john.northup, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: access)
Impacted Section/Element
Smart Window
Steps to Reproduce
In Advanced Preferences, set browser.smartwindow.enabled=true.
With a screen reader running, open a content-rich page. Using the keyboard, trigger the "Ask" button.
Expected Behavior
When focus lands on the "Ask" button, screen reader announces "ask button" followed by its expanded/collapsed state. Clicking the button toggles its state, and screen reader users hear the new state (collapsed or expanded).
Actual Behavior
When focus lands on the "Ask" button, screen reader announces "ask button" (but not the expanded/collapsed state). Clicking the button toggles its state, but the screen reader is silent.
User Impact
Users who rely on screen reader output do not know that the purpose of the button is to expand/collapse a section of content, and do not know whether that content is expanded or collapsed.
WCAG 2.2 References
4.1.2 Name, Role, Value
Recommendations
Apply an aria-expanded attribute to the button.
Testing Environment
Firefox Beta 150.0b2 using "Flexible" Smart Window model
Assistive Technology Used
all screen readers
Further Reference
https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-expanded
Severity
3-Moderate
Updated•1 month ago
|
Comment 1•1 month ago
|
||
The issue is still present in Fx 150. Closing as a duplicate of a previously reported bug 2015985
Updated•1 month ago
|
| Reporter | ||
Comment 2•3 days ago
|
||
Unresolved.
Description
•