[wpt-sync] Sync PR 59616 - [Platform-provided behaviors] Accessibility integration
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox152 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 59616 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/59616
Details from upstream follow.
Ana Sollano Kim <ansollan@microsoft.com> wrote:
[Platform-provided behaviors] Accessibility integration
This CL:
- Automatically assigns the default ARIA role provided by the behavior
("button") within the ax tree.- Makes elements implicitly focusable and includes them in the default
tab order by setting the default tab index to 0.- Handles keyboard activation by converting Enter and Space key events
into simulated clicks when the behavior is present.- Makes DefaultAriaRole to return ax::mojom::blink::Role enums.
These changes ensure that custom elements with submission capabilities
buttons are identifiable by assistive technologies and reachable via
keyboard navigation without requiring manual attribute management. Tests
are added to verify these changes.Explainer:
https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/PlatformProvidedBehaviors/explainer.md
Design doc:
https://docs.google.com/document/d/1LA1hhzxmi4OmZoGtIdnwvL3g7y48YjXTOoUvFtxFugE/edit?usp=sharingBug: 486928684
Change-Id: I42fb2cf6a5717d67def045dc5a36a8e856f78bad
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7762931
Reviewed-by: Jacques Newman \<janewman@microsoft.com>
Reviewed-by: Dan Clark \<daniec@microsoft.com>
Commit-Queue: Ana Sollano Kim \<ansollan@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1624240}
| Assignee | ||
Updated•13 days ago
|
| Assignee | ||
Comment 1•13 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=7a5691d9d7d5f8bae25752baa0fa5e9f52da5c9e
| Assignee | ||
Comment 2•12 days ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 20 tests
Status Summary
Firefox
OK : 15
PASS : 107[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 109[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL : 2
ERROR: 2[GitHub] 3[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
Chrome
OK : 2
PASS : 43
FAIL : 8
Safari
ERROR: 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /custom-elements/form-associated/ElementInternals-behavior-accessibility.tentative.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR) - /custom-elements/form-associated/ElementInternals-submit-behavior-dialog.tentative.html [wpt.fyi]:
ERROR - /custom-elements/form-associated/ElementInternals-submit-behavior.tentative.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR) - /custom-elements/form-associated/ElementInternals-reportValidity-bubble.html [wpt.fyi]:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - /custom-elements/form-associated/ElementInternals-reportValidity-delegatesFocus.html [wpt.fyi]:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt]
Comment 4•9 days ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/5b6887ddfbdd
https://hg.mozilla.org/mozilla-central/rev/a06756482e9c
Description
•