Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Update ACT rule tags #2625

Merged
merged 2 commits into from
Nov 9, 2020
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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# axe-core

[![License](https://img.shields.io/npm/l/axe-core.svg)](LICENSE)
[![Version](https://img.shields.io/npm/v/axe-core.svg)](https://www.npmjs.com/package/axe-core)
[![Total npm downloads](https://img.shields.io/npm/dt/axe-core.svg)](https://www.npmjs.com/package/axe-core)
Expand Down
110 changes: 55 additions & 55 deletions doc/rule-descriptions.md

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion lib/rules/area-alt.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"wcag244",
"wcag412",
"section508",
"section508.22.a"
"section508.22.a",
"ACT"
],
"metadata": {
"description": "Ensures <area> elements of image maps have alternate text",
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/aria-input-field-name.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": "aria-input-field-name",
"selector": "[role=\"combobox\"], [role=\"listbox\"], [role=\"searchbox\"], [role=\"slider\"], [role=\"spinbutton\"], [role=\"textbox\"]",
"matches": "no-naming-method-matches",
"tags": ["cat.aria", "wcag2a", "wcag412"],
"tags": ["cat.aria", "wcag2a", "wcag412", "ACT"],
"metadata": {
"description": "Ensures every ARIA input field has an accessible name",
"help": "ARIA input fields must have an accessible name"
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/aria-toggle-field-name.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": "aria-toggle-field-name",
"selector": "[role=\"checkbox\"], [role=\"menuitemcheckbox\"], [role=\"menuitemradio\"], [role=\"radio\"], [role=\"switch\"], [role=\"option\"]",
"matches": "no-naming-method-matches",
"tags": ["cat.aria", "wcag2a", "wcag412"],
"tags": ["cat.aria", "wcag2a", "wcag412", "ACT"],
"metadata": {
"description": "Ensures every ARIA toggle field has an accessible name",
"help": "ARIA toggle fields have an accessible name"
Expand Down
3 changes: 2 additions & 1 deletion lib/rules/button-name.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"wcag2a",
"wcag412",
"section508",
"section508.22.a"
"section508.22.a",
"ACT"
],
"metadata": {
"description": "Ensures buttons have discernible text",
Expand Down
3 changes: 2 additions & 1 deletion lib/rules/image-alt.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"wcag2a",
"wcag111",
"section508",
"section508.22.a"
"section508.22.a",
"ACT"
],
"metadata": {
"description": "Ensures <img> elements have alternate text or a role of none or presentation",
Expand Down
3 changes: 2 additions & 1 deletion lib/rules/label.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"wcag412",
"wcag131",
"section508",
"section508.22.n"
"section508.22.n",
"ACT"
],
"metadata": {
"description": "Ensures every form element has a label",
Expand Down
3 changes: 2 additions & 1 deletion lib/rules/link-name.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"wcag412",
"wcag244",
"section508",
"section508.22.a"
"section508.22.a",
"ACT"
],
"metadata": {
"description": "Ensures links have discernible text",
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/meta-viewport.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": "meta-viewport",
"selector": "meta[name=\"viewport\"]",
"excludeHidden": false,
"tags": ["cat.sensory-and-visual-cues", "best-practice"],
"tags": ["cat.sensory-and-visual-cues", "best-practice", "ACT"],
"metadata": {
"description": "Ensures <meta name=\"viewport\"> does not disable text scaling and zooming",
"help": "Zooming and scaling must not be disabled"
Expand Down
3 changes: 2 additions & 1 deletion lib/rules/role-img-alt.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"wcag2a",
"wcag111",
"section508",
"section508.22.a"
"section508.22.a",
"ACT"
],
"metadata": {
"description": "Ensures [role='img'] elements have alternate text",
Expand Down
3 changes: 2 additions & 1 deletion lib/rules/select-name.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"wcag412",
"wcag131",
"section508",
"section508.22.n"
"section508.22.n",
"ACT"
],
"metadata": {
"description": "Ensures select element has an accessible name",
Expand Down
3 changes: 2 additions & 1 deletion lib/rules/svg-img-alt.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"wcag2a",
"wcag111",
"section508",
"section508.22.a"
"section508.22.a",
"ACT"
],
"metadata": {
"description": "Ensures svg elements with an img, graphics-document or graphics-symbol role have an accessible text",
Expand Down