Closed Bug 1599955 Opened 5 years ago Closed 4 years ago

[wpt-sync] Sync PR 20493 - [AOM] Integrate element reflection with the Accessibility Tree

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla73
Tracking Status
firefox73 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 20493 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/20493
Details from upstream follow.

Meredith Lane <meredithl@chromium.org> wrote:

[AOM] Integrate element reflection with the Accessibility Tree

This is a reland, the original review can be seen at:
https://crrev.com/c/1826397

This change now migrates the existing accessibility code to rely on the
attr-associated-elements set via the content attribute or IDL attributes.

Followup work to: https://crrev.com/c/1687013, https://crrev.com/c/1781917

Bug: 981423
Change-Id: Ie5cbf514a74e68dfee3074aa9b473dfafd3a81e2
Reviewed-on: https://chromium-review.googlesource.com/1911347
WPT-Export-Revision: bc8dfb2cba8cd29f1463587007a240e75524a5aa

PR 20493 applied with additional changes from upstream: c3ca81129eb610fffe607d6fda3bf2b06bfaeded, 7cef27a0411cc87dccf0165c7e868e4008143daa
Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

Ran 13 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 17 subtests

Status Summary

Firefox

OK : 1
FAIL: 17

Chrome

OK : 1
PASS: 16
FAIL: 1

Safari

OK : 1
FAIL: 17

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/dom/nodes/aria-element-reflection.tentative.html
shadow DOM behaviour for FrozenArray element reflection.: FAIL (Chrome: PASS, Safari: FAIL)
aria-flowto.: FAIL (Chrome: PASS, Safari: FAIL)
aria-activedescendant element reflection: FAIL (Chrome: PASS, Safari: FAIL)
Moving explicitly set elements around within the same scope, and removing from the DOM.: FAIL (Chrome: FAIL, Safari: FAIL)
Deleting a reflected element should return null for the IDL attribute and cause the content attribute to become stale.: FAIL (Chrome: PASS, Safari: FAIL)
If the content attribute is set directly, the IDL attribute getter always returns the first element whose ID matches the content attribute.: FAIL (Chrome: PASS, Safari: FAIL)
aria-labelledby.: FAIL (Chrome: PASS, Safari: FAIL)
aria-owns.: FAIL (Chrome: PASS, Safari: FAIL)
Changing the ID of an element causes the content attribute to become out of sync.: FAIL (Chrome: PASS, Safari: FAIL)
aria-controls.: FAIL (Chrome: PASS, Safari: FAIL)
aria-errormessage: FAIL (Chrome: PASS, Safari: FAIL)
Moving explicitly set elements across shadow DOM boundaries.: FAIL (Chrome: PASS, Safari: FAIL)
Setting an element reference that crosses into a shadow tree is disallowed, but setting one that is in a shadow inclusive ancestor is allowed.: FAIL (Chrome: PASS, Safari: FAIL)
Setting the IDL attribute to an element which is not the first element in DOM order with its ID causes the content attribute to be an empty string: FAIL (Chrome: PASS, Safari: FAIL)
aria-describedby.: FAIL (Chrome: PASS, Safari: FAIL)
aria-details: FAIL (Chrome: PASS, Safari: FAIL)
Reparenting an element into a descendant shadow scope nullifies the element reference.: FAIL (Chrome: PASS, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f00825e69656
[wpt PR 20493] - [AOM] Integrate element reflection with the Accessibility Tree, a=testonly
https://hg.mozilla.org/integration/autoland/rev/803de9aef929
[wpt PR 20493] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla73
You need to log in before you can comment on or make changes to this bug.