-
-
Notifications
You must be signed in to change notification settings - Fork 627
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
jsx-a11y/control-has-associated-label: dangerouslySetInnerHTML should pass? #954
Comments
We can't parse HTMl in I'm not sure why it's warning on a td. The example in #64 is because anything there ensures that the header has content; in this case, we'd need to know what the content is. |
I get the dynamic value issue, so feel free to close. (The HTML in this case is not dangerous at all btw, no worries of XSS). I don't understand why a |
It definitely seems like a bug, to be clear - |
throws a
jsx-a11y/control-has-associated-label
error.I believe this should pass in the same way as #64 ?
Also, the documentation says "Enforce that a control (an interactive element) has a text label." I was a bit confused because a
<td>
is not an interactive element I think?The text was updated successfully, but these errors were encountered: