-
Notifications
You must be signed in to change notification settings - Fork 261
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 React's useId #711
Comments
Hi @tskarhed! Thank you for creating this issue. This seems to be the result of one axe's rules, pa11y just relays the output to the user. If you think that the rule is incorrect, please create an issue in the axe-core repo. Thank you! |
Hi @josebolos I will do that. When using axe DevTools it does not complain about this issue though. |
In that case it may be that the issue has already been fixed in a later version of axe, and hopefully pa11y will pick up the fix whenever it pulls the latest version of axe-core. 🤞 |
@josebolos It turns out that this was not related to useId at, but there was an id being referenced by |
This repository's issues are reserved for feature requests, bug reports, and other issues with the Pa11y library itself.
If you need help integrating Pa11y with your application, we recommend using Stack Overflow.
For a bug report, please use the template below. To keep the backlog clean and actionable, issues may be immediately closed if they do not follow one this template.
I assume this fails because
querySelector
is being used somewhere, hence this generated id will fail.facebook/react#26839
Expected behaviour
For the a11y test to pass
Actual behaviour
Steps to reproduce
When using React:
controls
,labelledby
etc...useId
hookEnvironment
The text was updated successfully, but these errors were encountered: