Closed Bug 1829028 Opened 2 years ago Closed 10 months ago

Explicitly support definition and term ARIA roles

Categories

(Core :: Disability Access APIs, defect)

defect

Tracking

()

RESOLVED FIXED
124 Branch
Tracking Status
firefox124 --- fixed

People

(Reporter: Jamie, Assigned: nlapre)

References

(Blocks 4 open bugs)

Details

Attachments

(1 file)

definition and term were added in ARIA 1.1. We do expose these generically through the xml-roles object attribute. However, even though we do have Gecko roles for these, we don't have atoms for them, so they aren't in ARIAMap. This means we can't expose the correct ARIA role token via ComputedARIARole. The platform mappings also need to be updated.

Actually, term is already in ARIAMap, but it doesn't map to an ARIA role in RoleMap. definition needs an atom and ARIA mappings.

Blocks: a11y-wpt

We should also fix the mappings for HTML dd, dt and dfn.

Blocks: 1868815

This revision aims to add support for the 'term' and 'definition' ARIA roles.
These roles already exist in Gecko, but aren't fully mapped where they should
be. To address the problem, this revision adds a static atom for "definition,"
implements the ARIA map for definition, adds a markup map entry for the dfn
element (which has the DEFINITION role), and puts the term and definition atoms
in the role map. As a consequence of these changes, this revision also removes
the expected web platform test failures and updates other existing tests.

Assignee: nobody → nlapre
Status: NEW → ASSIGNED
Pushed by nlapre@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1995789cfffa Explicitly support term, definition ARIA roles, r=Jamie
Status: ASSIGNED → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → 124 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: