Closed Bug 1608969 Opened 10 months ago Closed 8 months ago

Support ARIA comment role

Categories

(Core :: Disability Access APIs, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: aaronlev, Assigned: MarcoZ)

References

Details

(Keywords: dev-doc-complete)

Attachments

(1 file)

A new role in ARIA called "comment" is intended to help support ARIA annotations. It maps to IA2_ROLE_COMMENT. The ARIA spec PR for it is https://github.com/w3c/aria/pull/1135.

It is currently implemented in Chrome behind the flag
--enable-features=AccessibilityExposeARIAAnnotations

It should automatically compute its level, setsize and posinset when not provided.
The level is based on counting comment ancestors until the root.

Blocks: 1608975
Type: defect → enhancement
Priority: -- → P3

This adds both the role as well as calculation of the posinset, setsize, and level calculation if not provided by the author.

Depends on D64546

Assignee: nobody → mzehe
Status: NEW → ASSIGNED
Depends on: 1618103
Pushed by mzehe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f7d85323b609
Add new ARIA 1.3 comment role, r=Jamie
Status: ASSIGNED → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75

Has a test in the test suite, doesn't need manual testing. ATs such as NVDA don't support these roles yet anyway, so the only way would be by way of the a11y inspector. Setting QE Verify to No.

Flags: qe-verify-
Flags: in-testsuite+
You need to log in before you can comment on or make changes to this bug.