-
Notifications
You must be signed in to change notification settings - Fork 206
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
fix: sp-split-button more button label #3354
Conversation
Tachometer resultsChromesplit-button permalink
Firefoxsplit-button permalink
|
Firefox appears to ship a slightly different accessibility tree in response to these updates. Can you take a look at the difference and update either the implementation or the test case here? |
609dfbb
to
4c1f516
Compare
findAccessibilityNode<NamedRoledPopupNode>( | ||
snapshot, | ||
(node) => | ||
(node.role === 'button' || node.role === 'buttonmenu') && |
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.
@jnurthen this gets the test passing in Firefox. Not sure if this counts as a bug in Firefox (or possibly in Playwright, they're deprecating these API anyways 😢), but it seems to be OK on our end.
If it's good for you, I'm good to merge this in.
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.
thanks for fixing that. That looks good.
4c1f516
to
9a4c30b
Compare
9a4c30b
to
0326dfa
Compare
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.
LGTM. Thanks for getting this cleared up for us!
Fixes #3305
Description
Changes the label for the more button from static text to a reference to the sibling button element
Related issue(s)
#3305
Motivation and context
How has this been tested?
Screenshots (if appropriate)
Types of changes
Checklist