Closed Bug 2028671 Opened 2 months ago Closed 1 month ago

[a11y] Button does not expose the expanded/collapsed state of its associated panel to screen reader users.

Categories

(Core :: Machine Learning: Frontend, defect)

Firefox 150
defect

Tracking

()

RESOLVED DUPLICATE of bug 2015985
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

Blocks: 2024316
Keywords: access

The issue is still present in Fx 150. Closing as a duplicate of a previously reported bug 2015985

Status: UNCONFIRMED → RESOLVED
Closed: 1 month ago
Duplicate of bug: 2015985
Resolution: --- → DUPLICATE
Accessibility Severity: --- → s2

Unresolved.

You need to log in before you can comment on or make changes to this bug.