Skip to content

jsx-a11y/label-has-for is deprecated in favor of jsx-a11y/label-has-associated-control.Β #484

@qqii

Description

@qqii

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions