Skip to content

Commit 05f37de

Browse files
authored
feat: tag 'review-items' as 'best-practice' (#1344)
1 parent e05f222 commit 05f37de

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

doc/rule-descriptions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@
3030
| empty-heading | Ensures headings have discernible text | Minor | cat.name-role-value, best-practice | true |
3131
| focus-order-semantics | Ensures elements in the focus order have an appropriate role | Minor | cat.keyboard, best-practice, experimental | true |
3232
| form-field-multiple-labels | Ensures form field does not have multiple label elements | Moderate | cat.forms, wcag2a, wcag332 | true |
33-
| frame-tested | Ensures <iframe> and <frame> elements contain the axe-core script | Critical | cat.structure, review-item | true |
33+
| frame-tested | Ensures <iframe> and <frame> elements contain the axe-core script | Critical | cat.structure, review-item, best-practice | true |
3434
| frame-title-unique | Ensures <iframe> and <frame> elements contain a unique title attribute | Serious | cat.text-alternatives, best-practice | true |
3535
| frame-title | Ensures <iframe> and <frame> elements contain a non-empty title attribute | Serious | cat.text-alternatives, wcag2a, wcag242, wcag412, section508, section508.22.i | true |
3636
| heading-order | Ensures the order of headings is semantically correct | Moderate | cat.semantics, best-practice | true |
37-
| hidden-content | Informs users about hidden content. | Minor | cat.structure, experimental, review-item | true |
37+
| hidden-content | Informs users about hidden content. | Minor | cat.structure, experimental, review-item, best-practice | true |
3838
| html-has-lang | Ensures every HTML document has a lang attribute | Serious | cat.language, wcag2a, wcag311 | true |
3939
| html-lang-valid | Ensures the lang attribute of the <html> element has a valid value | Serious | cat.language, wcag2a, wcag311 | true |
4040
| html-xml-lang-mismatch | Ensure that HTML elements with both valid lang and xml:lang attributes agree on the base language of the page | Moderate | cat.language, wcag2a, wcag311 | true |

lib/rules/frame-tested.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "frame-tested",
33
"selector": "frame, iframe",
4-
"tags": ["cat.structure", "review-item"],
4+
"tags": ["cat.structure", "review-item", "best-practice"],
55
"metadata": {
66
"description": "Ensures <iframe> and <frame> elements contain the axe-core script",
77
"help": "Frames must be tested with axe-core"

lib/rules/hidden-content.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"id": "hidden-content",
33
"selector": "*",
44
"excludeHidden": false,
5-
"tags": ["cat.structure", "experimental", "review-item"],
5+
"tags": ["cat.structure", "experimental", "review-item", "best-practice"],
66
"metadata": {
77
"description": "Informs users about hidden content.",
88
"help": "Hidden content on the page cannot be analyzed"

0 commit comments

Comments
 (0)