You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An input inside of a label is flagged as not associated with a label. This contradicts the example code on the rule page that says this is the correct way to do it.
What version of Oxlint are you using?
1.66.0
What command did you run?
oxlint
What does your
.oxlintrc.json(oroxlint.config.ts) config file look like?Seen using the default config on the Oxc Playground link from the rule page https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/control-has-associated-label.html#references
What happened?
An input inside of a label is flagged as not associated with a label. This contradicts the example code on the rule page that says this is the correct way to do it.
Rule: https://oxc.rs/docs/guide/usage/linter/rules/jsx_a11y/control-has-associated-label.html
Error example: https://playground.oxc.rs/?lintRules=jsx-a11y%2Fcontrol-has-associated-label