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
'jsx-a11y/label-has-associated-control': [
'error',
{
assert: 'either',
}
],
<input type="hidden" aria-hidden="true" />
This fails.
Thanks!
I would expect any type=hidden input to be exempted from this rule, aria-hidden or not.
Most helpful comment
I would expect any
type=hiddeninput to be exempted from this rule, aria-hidden or not.