Explicitly support definition and term ARIA roles
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
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.
Reporter | ||
Comment 1•2 years ago
|
||
Actually, term is already in ARIAMap, but it doesn't map to an ARIA role in RoleMap. definition needs an atom and ARIA mappings.
Reporter | ||
Comment 2•1 year ago
|
||
We should also fix the mappings for HTML dd, dt and dfn.
Assignee | ||
Comment 3•10 months ago
|
||
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.
Updated•10 months ago
|
Updated•10 months ago
|
Description
•