-
Notifications
You must be signed in to change notification settings - Fork 470
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
Can not get by role "mark" #1150
Comments
Hi @xiduzo! |
Hi, It seems the 'mark' role landed with this commit... we just need a new release of "aria-query". |
@ghostd Thanks for letting us know, but unfortunately, that commit wasn't released yet, the latest release is 5.1.3 which was released at the end of October 2022. |
🎉 This issue has been resolved in version 10.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
@testing-library/react
version: ^13.2.0Relevant code or config:
What you did:
Trying to get by the
mark
role as described https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/mark_roleWhat happened:
The testing library is unable to find the
mark
roleReproduction:
Problem description:
In order to test the mark component, we need to get it by role as according to the accessibility guidelines:
"The mark element should not be given an accessible name; both aria-label and aria-labelledby attributes are prohibited on mark."
Suggested solution:
The text was updated successfully, but these errors were encountered: