diff --git a/doc/rule-descriptions.md b/doc/rule-descriptions.md index 710f464ccb..a139fb72f2 100644 --- a/doc/rule-descriptions.md +++ b/doc/rule-descriptions.md @@ -97,7 +97,7 @@ Rules that do not necessarily conform to WCAG success criterion but are industry | [accesskeys](https://dequeuniversity.com/rules/axe/4.7/accesskeys?application=RuleDescription) | Ensures every accesskey attribute value is unique | Serious | cat.keyboard, best-practice | failure | | | [aria-allowed-role](https://dequeuniversity.com/rules/axe/4.7/aria-allowed-role?application=RuleDescription) | Ensures role attribute has an appropriate value for the element | Minor | cat.aria, best-practice | failure, needs review | | | [aria-dialog-name](https://dequeuniversity.com/rules/axe/4.7/aria-dialog-name?application=RuleDescription) | Ensures every ARIA dialog and alertdialog node has an accessible name | Serious | cat.aria, best-practice | failure, needs review | | -| [aria-text](https://dequeuniversity.com/rules/axe/4.7/aria-text?application=RuleDescription) | Ensures "role=text" is used on elements with no focusable descendants | Serious | cat.aria, best-practice | failure, needs review | | +| [aria-text](https://dequeuniversity.com/rules/axe/4.7/aria-text?application=RuleDescription) | Ensures role="text" is used on elements with no focusable descendants | Serious | cat.aria, best-practice | failure, needs review | | | [aria-treeitem-name](https://dequeuniversity.com/rules/axe/4.7/aria-treeitem-name?application=RuleDescription) | Ensures every ARIA treeitem node has an accessible name | Serious | cat.aria, best-practice | failure, needs review | | | [empty-heading](https://dequeuniversity.com/rules/axe/4.7/empty-heading?application=RuleDescription) | Ensures headings have discernible text | Minor | cat.name-role-value, best-practice | failure, needs review | [ffd0e9](https://act-rules.github.io/rules/ffd0e9) | | [empty-table-header](https://dequeuniversity.com/rules/axe/4.7/empty-table-header?application=RuleDescription) | Ensures table headers have discernible text | Minor | cat.name-role-value, best-practice | failure, needs review | | diff --git a/lib/rules/aria-text.json b/lib/rules/aria-text.json index 34d7cab876..30db550134 100644 --- a/lib/rules/aria-text.json +++ b/lib/rules/aria-text.json @@ -4,7 +4,7 @@ "selector": "[role=text]", "tags": ["cat.aria", "best-practice"], "metadata": { - "description": "Ensures \"role=text\" is used on elements with no focusable descendants", + "description": "Ensures role=\"text\" is used on elements with no focusable descendants", "help": "\"role=text\" should have no focusable descendants" }, "all": [],