Skip to content

Commit f3813dc

Browse files
committed
fixed needs review messages
1 parent 73d79a9 commit f3813dc

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

lib/checks/label/label-content-name-mismatch.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"impact": "serious",
1010
"messages": {
1111
"pass": "Element contains visible text as part of it's accessible name",
12-
"fail": "Text inside the element is not included in the accessible name"
12+
"fail": "Text inside the element is not included in the accessible name",
13+
"incomplete": "Ensure that the visible label of the element and the accessible name (provided by `aria-label`, etc.) match exactly. Ensure that the visible label of the element is part of the accessible name of the element. It is advisable that the visible label comes in the beginning of the accessible name"
1314
}
1415
}
1516
}

lib/rules/label-content-name-mismatch.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"wcag253",
99
"EN-301-549",
1010
"EN-9.2.5.3",
11+
"a11y-engine",
1112
"a11y-engine-experimental"
1213
],
1314
"actIds": ["2ee8b8"],

lib/rules/p-as-heading.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"wcag131",
1010
"EN-301-549",
1111
"EN-9.1.3.1",
12+
"a11y-engine",
1213
"a11y-engine-experimental"
1314
],
1415
"metadata": {

0 commit comments

Comments
 (0)