Closed Bug 1608969 Opened 5 years ago Closed 5 years 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
Status: ASSIGNED → RESOLVED
Closed: 5 years 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+

Documentation complete; see https://github.com/mdn/sprints/issues/2939#issuecomment-607404699 for the full details.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: