Skip to content

Commit

Permalink
fix(aria-text): typo in rule description (#4131)
Browse files Browse the repository at this point in the history
Change \"role=text\" to role=\"text\"
  • Loading branch information
ma10 authored Aug 22, 2023
1 parent 381b2c3 commit 85a0e9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/rule-descriptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 | |
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/aria-text.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [],
Expand Down

0 comments on commit 85a0e9c

Please sign in to comment.