-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
Support list
and listitem
#233
Comments
I strongly advise against adding Related discussion in w3c/aria: w3c/aria#1117 |
I basically came here from https://stackoverflow.com/a/61669469/419970 I noticed that I guess |
I also came from testing-library/dom-testing-library#201 (comment) Where it says |
ByRole is for querying elements with an accessible role with the option to filter by their name. Most elements have one but not I think we can close since it is working as intended. |
I tried to use dom testing library with
getByRole('listitem', { name: 'text' })
I realized that querying a button by accessibility name works but the function computeAccessibleName when called on
<span role='listitem'>text</span>
returns empty stringThe text was updated successfully, but these errors were encountered: