Skip to content

Commit 2b869ad

Browse files
committed
Merge branch 'main' into AXE-1391-color-contrast-enhancement
2 parents fce3843 + 993f0ba commit 2b869ad

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": "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",
13+
"incomplete": "Check if the visible text is part of the accessible name (provided by `aria-label`, etc.) for the element. Check the accessibility tree to get the accessible name of the element."
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)