Implement accessibility property support via CDP for Chrome - #60778
Merged
Conversation
wpt-pr-bot
requested review from
DanielRyanSmith,
jcscottiii,
jgraham and
jonathan-j-lee
June 22, 2026 02:05
HaTheo
force-pushed
the
HaTheo/executorchrome
branch
2 times, most recently
from
June 28, 2026 02:54
2c0f281 to
69825a1
Compare
HaTheo
force-pushed
the
HaTheo/executorchrome
branch
from
June 28, 2026 03:08
69825a1 to
24408b6
Compare
spectranaut
reviewed
Jul 17, 2026
spectranaut
left a comment
Contributor
There was a problem hiding this comment.
This is really cool! I've got several questions.
HaTheo
force-pushed
the
HaTheo/executorchrome
branch
6 times, most recently
from
July 24, 2026 14:44
b92b710 to
5839380
Compare
spectranaut
requested changes
Aug 5, 2026
spectranaut
left a comment
Contributor
There was a problem hiding this comment.
Thank you again Theo!!!
I have two requests for changes, then I think this can land as is, and will really help with the interop initiative.
HaTheo
force-pushed
the
HaTheo/executorchrome
branch
from
August 5, 2026 21:16
5839380 to
12ceeae
Compare
HaTheo
force-pushed
the
HaTheo/executorchrome
branch
from
August 5, 2026 21:30
12ceeae to
3bcc5f7
Compare
Contributor
|
@HaTheo this looks good but looks like a legit error in the CI, can you take a look? |
…s and replaced with todo.
…ed properties to a smaller subset for now.
HaTheo
force-pushed
the
HaTheo/executorchrome
branch
from
August 7, 2026 20:35
3bcc5f7 to
dec4481
Compare
Contributor
Author
|
@spectranaut, yes I had forgotten to change the return type when moving from a setter to a getter. |
spectranaut
approved these changes
Aug 10, 2026
spectranaut
left a comment
Contributor
There was a problem hiding this comment.
Whoo! Let's land it!
Just one unrelated mac-CI error!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Introduces
ChromeDriverAccessibilityProtocolPartto provide accessibility tree and computed property support for Chrome underwptrunner. This mirrors the pattern used by existing drivers (such as Marionette) and leverages the Chrome DevTools Protocol (CDP)Accessibility.getPartialAXTreecommand(https://chromedevtools.github.io/devtools-protocol/tot/Accessibility/#method-getPartialAXTree). It also, as a result, adds support for Edge and other Chromium browsers.Technical Changes
ChromeDriverAccessibilityProtocolPart(subclassingWebDriverAccessibilityProtocolPart) to fetch computed labels, roles, and tree structures via CDP commandsAccessibility.getPartialAXTree.Verification
Verified locally on both macOS and Windows by running the
wai-ariatest suite to ensure properties and tree extractions map correctly across environments without regressions: