We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f4d343 commit 8e5ec83Copy full SHA for 8e5ec83
docs/rules/label-has-associated-control.md
@@ -48,7 +48,7 @@ And the configuration:
48
```json
49
{
50
"rules": {
51
- "jsx-a11y/label-has-for": [ 2, {
+ "jsx-a11y/label-has-associated-control": [ 2, {
52
"labelComponents": ["CustomInputLabel"],
53
"labelAttributes": ["label"],
54
"controlComponents": ["CustomInput"],
@@ -65,7 +65,7 @@ This rule takes one optional object argument of type object:
65
66
67
68
69
"labelComponents": ["CustomLabel"],
70
"labelAttributes": ["inputLabel"],
71
0 commit comments