Closed Bug 1688960 Opened 3 years ago Closed 3 years ago

Accessibility improvements for App Menu sub-menus.

Categories

(Firefox :: Menus, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
88 Branch
Tracking Status
firefox88 --- fixed

People

(Reporter: yzen, Assigned: mconley)

References

(Blocks 1 open bug)

Details

(Keywords: access, Whiteboard: [proton-hamburger-menu])

Attachments

(1 file)

There are a couple of accessibility improvements that can be made to make our accessibility users experience even more delightful. We currently have what can be described as top level headings and lower level headings within sub-menus. For example "More tools" is the top level heading for that menu and "Browser tools" is a lower level heading for the menu items that are grouped together.

  • semantically these should really be headings, and can either be implemented as <hX> (preferred) or, alternatively, using ARIA role="heading" and aria-level="X"
  • these headings should be attached to elements of the menu that they are descibing:
    • the top level heading's ID should be used as the value of aria-labelledby attribute on the menu itself.
    • the lower level heading's ID should be used as the value of aria-labelledby attribute on the container element that contains that group's menu items (currently they are all flattened)
      • the above container should have role="group"
Whiteboard: [proton-hamburger-menu]
Assignee: nobody → mconley
Status: NEW → ASSIGNED
Blocks: 1692630
Depends on: 1690131
Pushed by mconley@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a34474998cd6
Use h1 and h2 elements for panel headers and subheaders. r=Standard8,yzen,fluent-reviewers,flod
Pushed by mconley@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2560f3f055fd
Use h1 and h2 elements for panel headers and subheaders. r=Standard8,yzen,fluent-reviewers,flod
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
Flags: needinfo?(mconley)
Regressions: 1695617
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: