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
[Select] Fix aria-describedby attribute #24027
Conversation
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!
Could you add a test for it? We have existing matchers for checking that the accessible description is wired up correctly: toHaveAccessibleDescription()
. I think right now you would have to query the Select with byRole('button')
since we're implementing the 1.1 pattern.
@oliviertassinari We should probably revisit where we spread the |
@eps1lon Sure, I can add a test for it but I don't think |
@eps1lon May be we can use |
Why would that not be useful here? |
Sorry, I got confused. I thought it checks only for |
@HVish It's a great first pull request on Material-UI 👌🏻. Thank you for working on it! |
Closes: #24019