diff --git a/lib/checks/label/label-content-name-mismatch.json b/lib/checks/label/label-content-name-mismatch.json index 872ca0a6c..5666d43b3 100644 --- a/lib/checks/label/label-content-name-mismatch.json +++ b/lib/checks/label/label-content-name-mismatch.json @@ -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." } } } diff --git a/lib/rules/label-content-name-mismatch.json b/lib/rules/label-content-name-mismatch.json index d9efcb7a7..67cd43acf 100644 --- a/lib/rules/label-content-name-mismatch.json +++ b/lib/rules/label-content-name-mismatch.json @@ -8,6 +8,7 @@ "wcag253", "EN-301-549", "EN-9.2.5.3", + "a11y-engine", "a11y-engine-experimental" ], "actIds": ["2ee8b8"], diff --git a/lib/rules/p-as-heading.json b/lib/rules/p-as-heading.json index 493e5eb9c..39a3adde3 100644 --- a/lib/rules/p-as-heading.json +++ b/lib/rules/p-as-heading.json @@ -9,6 +9,7 @@ "wcag131", "EN-301-549", "EN-9.1.3.1", + "a11y-engine", "a11y-engine-experimental" ], "metadata": {