Skip to content

Fix #3069: [eslint-config-airbnb] `jsx-a11y/control-has-associated-labe - #3320

Open
danielalanbates wants to merge 1 commit into
airbnb:masterfrom
danielalanbates:fix/issue-3069
Open

danielalanbates wants to merge 1 commit into
airbnb:masterfrom
danielalanbates:fix/issue-3069

Conversation

@danielalanbates

Copy link
Copy Markdown

Fixes #3069

Summary

This PR fixes: [eslint-config-airbnb] jsx-a11y/control-has-associated-label config does not ignore td and th HTML elements

Changes

packages/eslint-config-airbnb/rules/react-a11y.js | 2 ++
 1 file changed, 2 insertions(+)

Testing

Please review the changes carefully. The fix was verified against the existing test suite.


This PR was created with the assistance of Claude Fable 5.1 by Anthropic | effort: high (extended thinking). Happy to make any adjustments!

By submitting this pull request, I confirm that my contribution is made under the terms of the project's license (contributor license agreement).

…re `td` and `th` elements

Add `td` and `th` to `ignoreElements` in `jsx-a11y/control-has-associated-label` as they are non-interactive table elements.

Fixes airbnb#3069
fixes: airbnb#3069

Signed-off-by: Daniel Bates <av@nhcrichland.com>
danielalanbates pushed a commit to danielalanbates/dogood that referenced this pull request Sep 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[eslint-config-airbnb] jsx-a11y/control-has-associated-label config does not ignore td and th HTML elements

1 participant