We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Playground crashes when attempting to target an input with multiple labels used in aria-labelledby
<div id="a">One</div> <div id="b">Two</div> <input type="text" aria-labelledby="a b" />
There are various ways to trigger the crash
No crash
Error suggests that maybe you are constructing a selector that causes the issue:
The text was updated successfully, but these errors were encountered:
Hi @timkindberg thanks for reporting this issue 😄 . It is regarding to #545. Unfortunately at the moment this kind of query is not supported yet.
I'll fix on this side in a while 👍
Sorry, something went wrong.
fix: do not throw if getSuggestedQuery is thrown
4e6ed14
fix testing-library#214
testing-library/dom-testing-library@373dbc4
fix: use the first label for LabelText query suggestions (#672)
44460a2
* test: add failing test * fix: add quotes between selector * refactor: get first id from aria-labelledby Closes testing-library/testing-playground#214
Successfully merging a pull request may close this issue.
Bug Report 🐛
Playground crashes when attempting to target an input with multiple labels used in aria-labelledby
To Reproduce ✔️
There are various ways to trigger the crash
Expected behavior 🤔
No crash
Suggested solution 🔦
Error suggests that maybe you are constructing a selector that causes the issue:

Your Environment 💻
The text was updated successfully, but these errors were encountered: