From 973d48ff429217dc8c8c2c423af306978fb421a3 Mon Sep 17 00:00:00 2001 From: Jey Date: Thu, 8 Aug 2019 10:31:56 +0100 Subject: [PATCH] fix: update tags to wcag21aa for rule avoid-inline-spacing (#1757) --- doc/rule-descriptions.md | 2 +- lib/rules/avoid-inline-spacing.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/rule-descriptions.md b/doc/rule-descriptions.md index 459ee67926..4fc8da3cb5 100644 --- a/doc/rule-descriptions.md +++ b/doc/rule-descriptions.md @@ -17,7 +17,7 @@ | aria-valid-attr | Ensures attributes that begin with aria- are valid ARIA attributes | Critical | cat.aria, wcag2a, wcag412 | true | | audio-caption | Ensures <audio> elements have captions | Critical | cat.time-and-media, wcag2a, wcag121, section508, section508.22.a | false | | autocomplete-valid | Ensure the autocomplete attribute is correct and suitable for the form field | Serious | cat.forms, wcag21aa, wcag135 | true | -| avoid-inline-spacing | Ensure that text spacing set through style attributes can be adjusted with custom stylesheets | Serious | wcag21, wcag1412 | true | +| avoid-inline-spacing | Ensure that text spacing set through style attributes can be adjusted with custom stylesheets | Serious | wcag21aa, wcag1412 | true | | blink | Ensures <blink> elements are not used | Serious | cat.time-and-media, wcag2a, wcag222, section508, section508.22.j | true | | button-name | Ensures buttons have discernible text | Critical | cat.name-role-value, wcag2a, wcag412, section508, section508.22.a | true | | bypass | Ensures each page has at least one mechanism for a user to bypass navigation and jump straight to the content | Serious | cat.keyboard, wcag2a, wcag241, section508, section508.22.o | true | diff --git a/lib/rules/avoid-inline-spacing.json b/lib/rules/avoid-inline-spacing.json index 95e8a5d46e..5c55631b1e 100644 --- a/lib/rules/avoid-inline-spacing.json +++ b/lib/rules/avoid-inline-spacing.json @@ -1,7 +1,7 @@ { "id": "avoid-inline-spacing", "selector": "[style]", - "tags": ["wcag21", "wcag1412"], + "tags": ["wcag21aa", "wcag1412"], "metadata": { "description": "Ensure that text spacing set through style attributes can be adjusted with custom stylesheets", "help": "Inline text spacing must be adjustable with custom stylesheets"