Skip to content

Commit 31e0f61

Browse files
umut-gultekinstraker
authored andcommitted
fix(rules): Change "alternate text" to "alternative text" (#4582)
It should be alternative text, not alternate text. Closes:
1 parent d462d67 commit 31e0f61

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

lib/rules/area-alt.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
],
2020
"actIds": ["c487ae"],
2121
"metadata": {
22-
"description": "Ensure <area> elements of image maps have alternate text",
23-
"help": "Active <area> elements must have alternate text"
22+
"description": "Ensure <area> elements of image maps have alternative text",
23+
"help": "Active <area> elements must have alternative text"
2424
},
2525
"all": [],
2626
"any": ["non-empty-alt", "aria-label", "aria-labelledby", "non-empty-title"],

lib/rules/image-alt.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
],
1919
"actIds": ["23a2a8"],
2020
"metadata": {
21-
"description": "Ensure <img> elements have alternate text or a role of none or presentation",
22-
"help": "Images must have alternate text"
21+
"description": "Ensure <img> elements have alternative text or a role of none or presentation",
22+
"help": "Images must have alternative text"
2323
},
2424
"all": [],
2525
"any": [

lib/rules/input-image-alt.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
],
2020
"actIds": ["59796f"],
2121
"metadata": {
22-
"description": "Ensure <input type=\"image\"> elements have alternate text",
23-
"help": "Image buttons must have alternate text"
22+
"description": "Ensure <input type=\"image\"> elements have alternative text",
23+
"help": "Image buttons must have alternative text"
2424
},
2525
"all": [],
2626
"any": ["non-empty-alt", "aria-label", "aria-labelledby", "non-empty-title"],

lib/rules/object-alt.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
],
1515
"actIds": ["8fc3b6"],
1616
"metadata": {
17-
"description": "Ensure <object> elements have alternate text",
18-
"help": "<object> elements must have alternate text"
17+
"description": "Ensure <object> elements have alternative text",
18+
"help": "<object> elements must have alternative text"
1919
},
2020
"all": [],
2121
"any": [

lib/rules/role-img-alt.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
],
1818
"actIds": ["23a2a8"],
1919
"metadata": {
20-
"description": "Ensure [role=\"img\"] elements have alternate text",
20+
"description": "Ensure [role=\"img\"] elements have alternative text",
2121
"help": "[role=\"img\"] elements must have an alternative text"
2222
},
2323
"all": [],

0 commit comments

Comments
 (0)