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
jsx-a11y/control-has-associated-label
td
th
At Material UI, we use eslint-config-airbnb, which includes jsx-a11y pre-defined rules. We’re encountering this error for td and th elements:
eslint-config-airbnb
jsx-a11y
A control must be associated with a text label jsx-a11y/control-has-associated-label
Since td and th are non-interactive, they should be added to the ignoreElements list here and not parsed by jsx-a11y plugin.
ignoreElements
This is preventing us from bumping eslint-plugin-jsx-a11y: mui/material-ui#39752.
eslint-plugin-jsx-a11y
The text was updated successfully, but these errors were encountered:
It shouldn’t be preventing anything since you can (and should, in cases like these) be overriding a rule’s config whenever needed.
The change seems good, however.
Sorry, something went wrong.
No branches or pull requests
At Material UI, we use
eslint-config-airbnb
, which includesjsx-a11y
pre-defined rules. We’re encountering this error fortd
andth
elements:Since
td
andth
are non-interactive, they should be added to theignoreElements
list here and not parsed by jsx-a11y plugin.This is preventing us from bumping
eslint-plugin-jsx-a11y
: mui/material-ui#39752.The text was updated successfully, but these errors were encountered: