Skip to content

Commit 8e5ec83

Browse files
author
Ming Teo
committed
fix typo in new label-has-associated-control documentation
1 parent 5f4d343 commit 8e5ec83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/rules/label-has-associated-control.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ And the configuration:
4848
```json
4949
{
5050
"rules": {
51-
"jsx-a11y/label-has-for": [ 2, {
51+
"jsx-a11y/label-has-associated-control": [ 2, {
5252
"labelComponents": ["CustomInputLabel"],
5353
"labelAttributes": ["label"],
5454
"controlComponents": ["CustomInput"],
@@ -65,7 +65,7 @@ This rule takes one optional object argument of type object:
6565
```json
6666
{
6767
"rules": {
68-
"jsx-a11y/label-has-for": [ 2, {
68+
"jsx-a11y/label-has-associated-control": [ 2, {
6969
"labelComponents": ["CustomLabel"],
7070
"labelAttributes": ["inputLabel"],
7171
"controlComponents": ["CustomInput"],

0 commit comments

Comments
 (0)