Closed Bug 1924107 Opened 1 year ago Closed 1 year ago

History sidebar has a "..." menu button that is not labeled

Categories

(Firefox :: Sidebar, defect, P1)

defect

Tracking

()

VERIFIED FIXED
133 Branch
Accessibility Severity s2
Tracking Status
firefox133 --- fixed

People

(Reporter: ayeddi, Assigned: sclements)

References

(Blocks 1 open bug)

Details

(Keywords: access, Whiteboard: [fidefe-sidebar])

Attachments

(2 files)

Prerequisites:

  1. Ensure a screen reader is running, i.e. NVDA on WinOS

STR:

  1. In Firefox, ensure the sidebar.revamp pref is set to true and the new sidebar is visible
  2. Locate and activate History panel of the sidebar
  3. Locate and navigate to the ... (sorting) control after the search input and observe the screen reader announcement

Expected:

  1. Role, name, and state of the control is announced, i.e. Sorting, menu button, collapsed

Actual:

  1. The button is missing its accessible name (is unlabeled)
  2. The button that serves as a menu button lacks both aria-expanded and aria-haspopup=menu attributes

This is an access-S2 issue that makes this part of the UI, including the attached menu, inaccessible for users of assistive technologies. Users with voice control won't be able to call its name to activate it, users of screen readers won't know what is the purpose of this button. Learn more about ways to make image buttons accessible in the W3C WAI Tutorials

Severity: -- → S3
Priority: -- → P1
Whiteboard: [fidefe-sidebar]

The severity field for this bug is set to S3. However, the accessibility severity is higher, .
:sclements, could you consider increasing the severity?

For more information, please visit BugBot documentation.

Flags: needinfo?(sclements)
Assignee: nobody → sclements
Status: NEW → ASSIGNED
Flags: needinfo?(sclements)
Severity: S3 → S2
Duplicate of this bug: 1925261

I noticed the chatbot panel has the same pattern of using the 3-dot button as a menu and is missing some of the same attributes, so I've updated there as well.

See Also: → 1875374
Pushed by sclements@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cfc9c8d13810 Add missing title and aria attributes to menu buttons in sidebar r=Mardak,sidebar-reviewers,fluent-reviewers,Gijs

Backed out for causing sidebar related failures

Backout link

Push with failures

Logs for the fails can be found in the push link above.

Flags: needinfo?(sclements)
Flags: needinfo?(sclements)
Pushed by sclements@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/304bd1114b5d Add missing title and aria attributes to menu buttons in sidebar r=Mardak,sidebar-reviewers,fluent-reviewers,Gijs
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 133 Branch

Reproduced the issue with Firefox 133.0a1 (2024-10-06) on Windows 10.
The issue is verified fixed with Firefox 134.0a1 (20241105092845) and Firefox 133.0b4(20241104091514) on Windows 10, Ubuntu 22 and macOS 14.

Status: RESOLVED → VERIFIED
Has STR: --- → yes
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: