From b03ada3dd3b6490bb88e366bf807b10e1a4038a4 Mon Sep 17 00:00:00 2001
From: Umut Gultekin <64733609+umut-gultekin@users.noreply.github.com>
Date: Thu, 3 Oct 2024 23:11:36 +0200
Subject: [PATCH] fix(rules): Change "alternate text" to "alternative text"
(#4582)
It should be alternative text, not alternate text.
Closes:
---
lib/rules/area-alt.json | 4 ++--
lib/rules/image-alt.json | 4 ++--
lib/rules/input-image-alt.json | 4 ++--
lib/rules/object-alt.json | 4 ++--
lib/rules/role-img-alt.json | 2 +-
5 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/lib/rules/area-alt.json b/lib/rules/area-alt.json
index 3939818e25..1f30016a83 100644
--- a/lib/rules/area-alt.json
+++ b/lib/rules/area-alt.json
@@ -19,8 +19,8 @@
],
"actIds": ["c487ae"],
"metadata": {
- "description": "Ensure elements of image maps have alternate text",
- "help": "Active elements must have alternate text"
+ "description": "Ensure elements of image maps have alternative text",
+ "help": "Active elements must have alternative text"
},
"all": [],
"any": ["non-empty-alt", "aria-label", "aria-labelledby", "non-empty-title"],
diff --git a/lib/rules/image-alt.json b/lib/rules/image-alt.json
index b5b27d9b4d..0c79c873ba 100644
--- a/lib/rules/image-alt.json
+++ b/lib/rules/image-alt.json
@@ -18,8 +18,8 @@
],
"actIds": ["23a2a8"],
"metadata": {
- "description": "Ensure elements have alternate text or a role of none or presentation",
- "help": "Images must have alternate text"
+ "description": "Ensure elements have alternative text or a role of none or presentation",
+ "help": "Images must have alternative text"
},
"all": [],
"any": [
diff --git a/lib/rules/input-image-alt.json b/lib/rules/input-image-alt.json
index de17e14ff9..e3c40ac80a 100644
--- a/lib/rules/input-image-alt.json
+++ b/lib/rules/input-image-alt.json
@@ -19,8 +19,8 @@
],
"actIds": ["59796f"],
"metadata": {
- "description": "Ensure elements have alternate text",
- "help": "Image buttons must have alternate text"
+ "description": "Ensure elements have alternative text",
+ "help": "Image buttons must have alternative text"
},
"all": [],
"any": ["non-empty-alt", "aria-label", "aria-labelledby", "non-empty-title"],
diff --git a/lib/rules/object-alt.json b/lib/rules/object-alt.json
index c43ce9f1b9..015abfb482 100644
--- a/lib/rules/object-alt.json
+++ b/lib/rules/object-alt.json
@@ -14,8 +14,8 @@
],
"actIds": ["8fc3b6"],
"metadata": {
- "description": "Ensure