-
-
Notifications
You must be signed in to change notification settings - Fork 638
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 throws an error on table elements #959
Comments
I have the same problem, with this version 6.8 |
I've just run into the same issue updating to 6.8.0. From a quick review of the changelog and recent history it looks like an intentional change, or at the very least a side effect of an intentional change: #919 In my case it's triggered by an empty |
Same issue for us in Material UI - mui/material-ui#39752. |
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as resolved.
This comment was marked as resolved.
We are sticking to the older 6.7.1 version to avoid this issue. Versions 6.8 and the recent 6.9 still encounter this issue. |
@elianarlivingston @christopher-william @frantic1048 can you provide some code that reproduces the issue? |
Here's reproduction repo: https://github.com/frantic1048/eslint-plugin-jsx-a11y-issue-959
It appears that this issue is related to the case where a |
Shouldn't |
I suppose that'd be one solution. |
@ljharb I can add that. But will |
@ZeeshanTamboli the rule is part of this plugin, not the airbnb config, so you don't need the airbnb config to do anything to be able to use new releases of this plugin. that said, yes, the airbnb config will be released for eslint 9 support once everything it depends on has it. |
You can override that rule config however you like, without a new release. |
Yes, but that would be a workaround just to wait for the actual fix to happen. Overriding to just add the two elements in the list. |
Yep, that's right |
:P So can't we release |
This wouldn't be the repo to ask on, and this is an issue about this plugin, not about the airbnb config. |
Agree. Created airbnb/javascript#3069. |
Hello! I'm experiencing an issue with lint on the 'td' or 'th' elements. Is it correct that this error is being generated? Thank you in advance!
The text was updated successfully, but these errors were encountered: