web-configs icon indicating copy to clipboard operation
web-configs copied to clipboard

`jsx-a11y/label-has-for` is deprecated in favor of `jsx-a11y/label-has-associated-control`.

Open qqii opened this issue 2 months ago • 1 comments

Overview

jsx-a11y/label-has-for

❌ This rule is deprecated. It was replaced by jsx-a11y/label-has-associated-control.

🚫 This rule is disabled in the following configs: ☑️ recommended, 🔒 strict.

https://github.com/infofarmer/eslint-plugin-jsx-a11y/blob/main/docs/rules/label-has-for.md

Rule jsx-a11y/label-has-for should be removed.

Motivation

The rule is deprecated, and we already enable the replacement.

Labels

  • [ ] Add the Type: Enhancement label to this issue.

Area

  • [ ] Add any relevant Area: eslint-plugin labels to this issue

Scope

  • Is this issue related to a specific package?

    • [ ] Tag it with the Package: @shopify/eslint-plugin label.

Checklist

  • [ ] Please delete the labels section before submitting your issue
  • [ ] I have described this issue in a way that is actionable (if possible)

qqii avatar Oct 01 '25 09:10 qqii

I don't seem to be able to add labels.

qqii avatar Oct 01 '25 10:10 qqii