-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do not compute accessible role and name for non-Element nodes in the accessibility locator #702
Conversation
546073f
to
3684bb4
Compare
I am gonna split the changes required for a11y locator from changes to innerText (which requires more changes) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine to me but maybe @lutien can have a look as well by comparing it to our implementation in Firefox if it works as expected.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me as well
This PR updates the accessibility locator algorithm to avoid getting accessible name and role on non-element nodes while allowing to descend into non-element nodes' subtrees.
Preview | Diff