Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lib/checks/label/label-content-name-mismatch.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"impact": "serious",
"messages": {
"pass": "Element contains visible text as part of it's accessible name",
"fail": "Text inside the element is not included in the accessible name"
"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",
"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."
}
}
}
1 change: 1 addition & 0 deletions lib/rules/label-content-name-mismatch.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"wcag253",
"EN-301-549",
"EN-9.2.5.3",
"a11y-engine",
"a11y-engine-experimental"
],
"actIds": ["2ee8b8"],
Expand Down
1 change: 1 addition & 0 deletions lib/rules/p-as-heading.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"wcag131",
"EN-301-549",
"EN-9.1.3.1",
"a11y-engine",
"a11y-engine-experimental"
],
"metadata": {
Expand Down