Open Bug 1929144 Opened 1 year ago Updated 1 month ago

Make it possible to test additional accessibility properties in WPT

Categories

(Core :: Disability Access APIs, task)

task

Tracking

()

ASSIGNED

People

(Reporter: Jamie, Assigned: Jamie)

References

Details

Attachments

(2 files, 5 obsolete files)

It's currently possible to test computed accessibility labels and roles in WPT. We want to be able to test other properties, including description, states (checked/pressed/selected/etc.), tree relationships (parent/children), etc. This is being discussed between browser vendors and others in a few places, in order of specificity:
https://github.com/WICG/aom/issues/203
https://github.com/WICG/aom/issues/197
https://github.com/web-platform-tests/interop-accessibility/issues/90

I'm starting to prototype this in Gecko. Initially, this bug will be used to track work in progress, but it may be repurposed or split up as the work gets further along.

Assignee: nobody → jteh
Status: NEW → ASSIGNED

Hey :jgraham. This is still WIP, but I'd be grateful for some guidance on where to go from here. This "works", but there are obviously design/API shape questions that need to be answered and addressed. I'm somewhat blocked until I can get answers to those. See the questions in D227917. Thanks.

Flags: needinfo?(james)

I've added some comments in the review. Sorry for the long delay.

Flags: needinfo?(james)
Attachment #9435239 - Attachment description: Bug 1929144 part 1 WIP: Implement the basics of accessibleNode for WPT, including retrieving accessibleNode from an element and a few simple state properties. → Bug 1929144 part 1 WIP: Implement accessibleNode in marionette.

Because there is no DOM object for accessible nodes, Marionette:GetAccessibleNode is exposed as a simple method on the Marionette class, taking the id of the requested node as an argument.

Attachment #9435297 - Attachment description: Bug 1929144 part 4 WIP: Implement ability to get an accessible node from its id for WPT, allowing for traversal of the accessibility tree independent of the DOM. → Bug 1929144 part 3 WIP: Implement AccessibleNode in WPT.
Attachment #9435744 - Attachment description: Bug 1929144 part 6 WIP: Add AriaUtils.verifyAccessibilityTree for simpler tree verification using a simple JS object. → Bug 1929144 part 4 WIP: Add AriaUtils.verifyAccessibilityTree for simpler tree verification using a simple JS object.
Attachment #9435240 - Attachment description: Bug 1929144 part 2 WIP: Add a WPT test testing a few states. → Bug 1929144 part 5 WIP: Add simple WPT tests exercising AccessibleNode.
Attachment #9435241 - Attachment is obsolete: true
Attachment #9435298 - Attachment is obsolete: true
Attachment #9435239 - Attachment description: Bug 1929144 part 1 WIP: Implement accessibleNode in marionette. → Bug 1929144 part 1: Implement accessibleNode in marionette.
Attachment #9475260 - Attachment description: Bug 1929144 part 2 WIP: Implement AccessibleNode in marionette_driver. → Bug 1929144 part 2: Implement AccessibleNode in marionette_driver.
Attachment #9435297 - Attachment description: Bug 1929144 part 3 WIP: Implement AccessibleNode in WPT. → Bug 1929144 part 3: Implement AccessibleNode in WPT.
Attachment #9435297 - Attachment is obsolete: true
Attachment #9435744 - Attachment is obsolete: true
Attachment #9435240 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: