The Ask Sidebar button Open/Closed state is not read out loud by Screen readers
Categories
(Core :: Machine Learning: Frontend, defect, P1)
Tracking
()
People
(Reporter: rdoghi, Assigned: chloezhou, NeedInfo)
References
(Blocks 1 open bug)
Details
(Keywords: access, Whiteboard: [genai][chat][qa])
Attachments
(1 file, 2 external files, 2 obsolete files)
|
5.53 MB,
video/mp4
|
Details |
Found in
- Nightly 149.0a1 (2026-02-16)
Affected versions
- Nightly 149.0a1 (2026-02-16)
Affected platforms
- all
Preconditions
Have Screen Readers enabled.
Steps to reproduce
- Open a New smart window.
- Reach the Ask button from the Toolbar and Open the Sidebar.
- Close the Assistant Sidebar.
Expected result
- The Ask Sidebar state should be read out loud by the screen readers.
Actual result
- Only the 3 of 4 status is read out loud by the screen readers.
The Ask Sidebar Open or Closed states are not being read by Screen readers.
Regression range
N/A
Updated•9 months ago
|
Comment 1•9 months ago
|
||
S3 because there is a workaround: the user could explore to figure out whether the side bar is open or closed. This is a borderline s2 though because this indicator is visible to sighted users but inaccessible to users of assistive technology such as screen readers.
Comment 2•9 months ago
|
||
The severity field is not set for this bug.
:Mardak, could you have a look please?
For more information, please visit BugBot documentation.
Updated•8 months ago
|
Updated•8 months ago
|
| Assignee | ||
Comment 3•7 months ago
|
||
The Ask toolbar button had no accessible state announcement when toggled. Screen readers would only read the button's label without indicating whether the sidebar had opened or closed.
Fix by replacing the single smartwindow-ask-button FTL entry with two state-specific entries — smartwindow-ask-button-open and smartwindow-ask-button-closed — each carrying a distinct aria-label ("Ask sidebar opened" / "Ask sidebar closed"). _updateAskButtonChecked now switches data-l10n-id on toggle, causing the accessible name to change and triggering a VoiceOver announcement on the focused element.
Updated•7 months ago
|
| Reporter | ||
Comment 6•6 months ago
|
||
Verified as fixed in our latest Nightly 152.0a1 (2026-05-08)
Comment 7•6 months ago
|
||
The patch landed in nightly and beta is affected.
:chloezhou, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- See https://wiki.mozilla.org/Release_Management/Requesting_an_Uplift for documentation on how to request an uplift.
- If no, please set
status-firefox151towontfix.
For more information, please visit BugBot documentation.
Updated•6 months ago
|
| Assignee | ||
Comment 8•6 months ago
|
||
The Ask toolbar button had both type="checkbox" and aria-expanded, causing VoiceOver to only announce "selected" while the expanded/collapsed state was never spoken.
Fix by removing type="checkbox" and the checked state logic, leaving aria-expanded as the sole state signal — aligning with the W3C disclosure button pattern. Updated CSS selectors from [checked] to [aria-expanded="true"]. Tests updated to assert aria-expanded.
Original Revision: https://phabricator.services.mozilla.com/D294362
Updated•6 months ago
|
Comment 9•6 months ago
|
||
firefox-release Uplift Approval Request
- User impact if declined/Reason for urgency: The Ask Sidebar button Open/Closed state is not read out loud by Screen readers
- Code covered by automated testing?: yes
- Fix verified in Nightly?: yes
- Needs manual QE testing?: no
- Steps to reproduce for manual QE testing:
- Risk associated with taking this patch: low
- Explanation of risk level: css change only
- String changes made/needed?: no
- Is Android affected?: no
Updated•6 months ago
|
Updated•6 months ago
|
Comment 10•6 months ago
|
||
firefox-release Uplift Approval Request
- User impact if declined/Reason for urgency: The Ask Sidebar button Open/Closed state is not read out loud by Screen readers. and the button is not focusable.
- Code covered by automated testing?: yes
- Fix verified in Nightly?: yes
- Needs manual QE testing?: no
- Steps to reproduce for manual QE testing:
- Risk associated with taking this patch: low
- Explanation of risk level: css change only.
- String changes made/needed?: no
- Is Android affected?: no
| Assignee | ||
Comment 11•6 months ago
|
||
The Ask toolbar button had both type="checkbox" and aria-expanded, causing VoiceOver to only announce "selected" while the expanded/collapsed state was never spoken.
Fix by removing type="checkbox" and the checked state logic, leaving aria-expanded as the sole state signal — aligning with the W3C disclosure button pattern. Updated CSS selectors from [checked] to [aria-expanded="true"]. Tests updated to assert aria-expanded.
Original Revision: https://phabricator.services.mozilla.com/D294362
Comment 12•6 months ago
|
||
firefox-release Uplift Approval Request
- User impact if declined/Reason for urgency: The Ask Sidebar button Open/Closed state is not read out loud by Screen readers. and the button is not focusable.
- Code covered by automated testing?: yes
- Fix verified in Nightly?: yes
- Needs manual QE testing?: no
- Steps to reproduce for manual QE testing:
- Risk associated with taking this patch: low
- Explanation of risk level: css change only.
- String changes made/needed?: no
- Is Android affected?: no
| Assignee | ||
Comment 13•6 months ago
|
||
The Ask toolbar button had both type="checkbox" and aria-expanded, causing VoiceOver to only announce "selected" while the expanded/collapsed state was never spoken.
Fix by removing type="checkbox" and the checked state logic, leaving aria-expanded as the sole state signal — aligning with the W3C disclosure button pattern. Updated CSS selectors from [checked] to [aria-expanded="true"]. Tests updated to assert aria-expanded.
Original Revision: https://phabricator.services.mozilla.com/D294362
Updated•6 months ago
|
Updated•6 months ago
|
Updated•6 months ago
|
Updated•6 months ago
|
Comment 14•6 months ago
|
||
| uplift | ||
| Reporter | ||
Comment 15•6 months ago
|
||
Verified as fixed in our latest Release 151.0.2
Description
•