diff --git a/doc/rule-descriptions.md b/doc/rule-descriptions.md index 75787363d5..c2ac904270 100644 --- a/doc/rule-descriptions.md +++ b/doc/rule-descriptions.md @@ -86,9 +86,9 @@ These rules are disabled by default, until WCAG 2.2 is more widely adopted and required. -| Rule ID | Description | Impact | Tags | Issue Type | ACT Rules | -| :----------------------------------------------------------------------------------------------- | :------------------------------------------------- | :------ | :--------------------------------------------- | :------------------------- | :-------- | -| [target-size](https://dequeuniversity.com/rules/axe/4.9/target-size?application=RuleDescription) | Ensure touch target have sufficient size and space | Serious | cat.sensory-and-visual-cues, wcag22aa, wcag258 | failure, needs review | | +| Rule ID | Description | Impact | Tags | Issue Type | ACT Rules | +| :----------------------------------------------------------------------------------------------- | :-------------------------------------------------- | :------ | :--------------------------------------------- | :------------------------- | :-------- | +| [target-size](https://dequeuniversity.com/rules/axe/4.9/target-size?application=RuleDescription) | Ensure touch targets have sufficient size and space | Serious | cat.sensory-and-visual-cues, wcag22aa, wcag258 | failure, needs review | | ## Best Practices Rules @@ -115,7 +115,7 @@ Rules that do not necessarily conform to WCAG success criterion but are industry | [landmark-no-duplicate-contentinfo](https://dequeuniversity.com/rules/axe/4.9/landmark-no-duplicate-contentinfo?application=RuleDescription) | Ensures the document has at most one contentinfo landmark | Moderate | cat.semantics, best-practice | failure | | | [landmark-no-duplicate-main](https://dequeuniversity.com/rules/axe/4.9/landmark-no-duplicate-main?application=RuleDescription) | Ensures the document has at most one main landmark | Moderate | cat.semantics, best-practice | failure | | | [landmark-one-main](https://dequeuniversity.com/rules/axe/4.9/landmark-one-main?application=RuleDescription) | Ensures the document has a main landmark | Moderate | cat.semantics, best-practice | failure | | -| [landmark-unique](https://dequeuniversity.com/rules/axe/4.9/landmark-unique?application=RuleDescription) | Landmarks should have a unique role or role/label/title (i.e. accessible name) combination | Moderate | cat.semantics, best-practice | failure | | +| [landmark-unique](https://dequeuniversity.com/rules/axe/4.9/landmark-unique?application=RuleDescription) | Ensures landmarks are unique | Moderate | cat.semantics, best-practice | failure | | | [meta-viewport-large](https://dequeuniversity.com/rules/axe/4.9/meta-viewport-large?application=RuleDescription) | Ensures <meta name="viewport"> can scale a significant amount | Minor | cat.sensory-and-visual-cues, best-practice | failure | | | [page-has-heading-one](https://dequeuniversity.com/rules/axe/4.9/page-has-heading-one?application=RuleDescription) | Ensure that the page, or at least one of its frames contains a level-one heading | Moderate | cat.semantics, best-practice | failure | | | [presentation-role-conflict](https://dequeuniversity.com/rules/axe/4.9/presentation-role-conflict?application=RuleDescription) | Elements marked as presentational should not have global ARIA or tabindex to ensure all screen readers ignore them | Minor | cat.aria, best-practice, ACT | failure | [46ca7f](https://act-rules.github.io/rules/46ca7f) | diff --git a/lib/checks/aria/aria-errormessage.json b/lib/checks/aria/aria-errormessage.json index 84901729af..e238d7f654 100644 --- a/lib/checks/aria/aria-errormessage.json +++ b/lib/checks/aria/aria-errormessage.json @@ -11,9 +11,9 @@ "hidden": "aria-errormessage value `${data.values}` cannot reference a hidden element" }, "incomplete": { - "singular": "ensure aria-errormessage value `${data.values}` references an existing element", - "plural": "ensure aria-errormessage values `${data.values}` reference existing elements", - "idrefs": "unable to determine if aria-errormessage element exists on the page: ${data.values}" + "singular": "Ensure aria-errormessage value `${data.values}` references an existing element", + "plural": "Ensure aria-errormessage values `${data.values}` reference existing elements", + "idrefs": "Unable to determine if aria-errormessage element exists on the page: ${data.values}" } } } diff --git a/lib/checks/forms/autocomplete-appropriate.json b/lib/checks/forms/autocomplete-appropriate.json index dda69e3b06..0e9940de8a 100644 --- a/lib/checks/forms/autocomplete-appropriate.json +++ b/lib/checks/forms/autocomplete-appropriate.json @@ -5,8 +5,8 @@ "metadata": { "impact": "serious", "messages": { - "pass": "the autocomplete value is on an appropriate element", - "fail": "the autocomplete value is inappropriate for this type of input" + "pass": "The autocomplete value is on an appropriate element", + "fail": "The autocomplete value is inappropriate for this type of input" } } } diff --git a/lib/checks/forms/autocomplete-valid.json b/lib/checks/forms/autocomplete-valid.json index 0906e4b89a..25ca50724d 100644 --- a/lib/checks/forms/autocomplete-valid.json +++ b/lib/checks/forms/autocomplete-valid.json @@ -4,8 +4,8 @@ "metadata": { "impact": "serious", "messages": { - "pass": "the autocomplete attribute is correctly formatted", - "fail": "the autocomplete attribute is incorrectly formatted" + "pass": "The autocomplete attribute is correctly formatted", + "fail": "The autocomplete attribute is incorrectly formatted" } }, "options": { diff --git a/lib/checks/shared/aria-labelledby.json b/lib/checks/shared/aria-labelledby.json index f09d75fdad..0207baf864 100644 --- a/lib/checks/shared/aria-labelledby.json +++ b/lib/checks/shared/aria-labelledby.json @@ -6,7 +6,7 @@ "messages": { "pass": "aria-labelledby attribute exists and references elements that are visible to screen readers", "fail": "aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty", - "incomplete": "ensure aria-labelledby references an existing element" + "incomplete": "Ensure aria-labelledby references an existing element" } } } diff --git a/lib/checks/shared/presentational-role.json b/lib/checks/shared/presentational-role.json index 7b8dfb3b08..152477696b 100644 --- a/lib/checks/shared/presentational-role.json +++ b/lib/checks/shared/presentational-role.json @@ -4,7 +4,7 @@ "metadata": { "impact": "minor", "messages": { - "pass": "Element's default semantics were overriden with role=\"${data.role}\"", + "pass": "Element's default semantics were overridden with role=\"${data.role}\"", "fail": { "default": "Element's default semantics were not overridden with role=\"none\" or role=\"presentation\"", "globalAria": "Element's role is not presentational because it has a global ARIA attribute", diff --git a/lib/checks/shared/role-none.json b/lib/checks/shared/role-none.json index dfae40a5bf..dd46b9148e 100644 --- a/lib/checks/shared/role-none.json +++ b/lib/checks/shared/role-none.json @@ -12,7 +12,7 @@ "metadata": { "impact": "minor", "messages": { - "pass": "Element's default semantics were overriden with role=\"none\"", + "pass": "Element's default semantics were overridden with role=\"none\"", "fail": "Element's default semantics were not overridden with role=\"none\"" } } diff --git a/lib/checks/shared/role-presentation.json b/lib/checks/shared/role-presentation.json index 8615e6c356..d083000af4 100644 --- a/lib/checks/shared/role-presentation.json +++ b/lib/checks/shared/role-presentation.json @@ -12,7 +12,7 @@ "metadata": { "impact": "minor", "messages": { - "pass": "Element's default semantics were overriden with role=\"presentation\"", + "pass": "Element's default semantics were overridden with role=\"presentation\"", "fail": "Element's default semantics were not overridden with role=\"presentation\"" } } diff --git a/lib/rules/landmark-unique.json b/lib/rules/landmark-unique.json index dff8639ad5..2c5c2e3db3 100644 --- a/lib/rules/landmark-unique.json +++ b/lib/rules/landmark-unique.json @@ -4,8 +4,8 @@ "selector": "[role=banner], [role=complementary], [role=contentinfo], [role=main], [role=navigation], [role=region], [role=search], [role=form], form, footer, header, aside, main, nav, section", "tags": ["cat.semantics", "best-practice"], "metadata": { - "help": "Ensures landmarks are unique", - "description": "Landmarks should have a unique role or role/label/title (i.e. accessible name) combination" + "description": "Ensures landmarks are unique", + "help": "Landmarks should have a unique role or role/label/title (i.e. accessible name) combination" }, "matches": "landmark-unique-matches", "all": [], diff --git a/lib/rules/table-duplicate-name.json b/lib/rules/table-duplicate-name.json index da3a076c00..e274b22ae9 100644 --- a/lib/rules/table-duplicate-name.json +++ b/lib/rules/table-duplicate-name.json @@ -5,7 +5,7 @@ "tags": ["cat.tables", "best-practice"], "metadata": { "description": "Ensure the