We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hey!
When I add aria-hidden="true" to the element I would expect this rule to ignore this particular control element. It seems not be the case.
aria-hidden="true"
Example
// rule config
'jsx-a11y/label-has-associated-control': [ 'error', { assert: 'either', } ],
<input type="hidden" aria-hidden="true" />
This fails.
Thanks!
The text was updated successfully, but these errors were encountered:
I would expect any type=hidden input to be exempted from this rule, aria-hidden or not.
type=hidden
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Hey!
When I add
aria-hidden="true"
to the element I would expect this rule to ignore this particular control element. It seems not be the case.Example
// rule config
<input type="hidden" aria-hidden="true" />
This fails.
Thanks!
The text was updated successfully, but these errors were encountered: