From 3b05fee22b4ec91d9e0f457a4d3cc8eeb95a2edc Mon Sep 17 00:00:00 2001 From: Wilco Fiers Date: Wed, 22 Aug 2018 00:20:21 +0200 Subject: [PATCH] feat: Deprecate audio-caption rule (#1071) --- doc/rule-descriptions.md | 2 +- lib/rules/audio-caption.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/rule-descriptions.md b/doc/rule-descriptions.md index 7bdea95678..db6d5a4c75 100644 --- a/doc/rule-descriptions.md +++ b/doc/rule-descriptions.md @@ -12,7 +12,7 @@ | aria-roles | Ensures all elements with a role attribute use a valid value | Serious, Critical | cat.aria, wcag2a, wcag412 | true | | aria-valid-attr-value | Ensures all ARIA attributes have valid values | Critical | cat.aria, wcag2a, wcag412 | true | | 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 | 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 | | 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 | Serious, Critical | cat.name-role-value, wcag2a, wcag412, section508, section508.22.a | true | diff --git a/lib/rules/audio-caption.json b/lib/rules/audio-caption.json index 4a7452cd71..e57547391c 100644 --- a/lib/rules/audio-caption.json +++ b/lib/rules/audio-caption.json @@ -1,6 +1,7 @@ { "id": "audio-caption", "selector": "audio", + "enabled": false, "excludeHidden": false, "tags": [ "cat.time-and-media",