From edfd51a3669f1932cd25e3b6757f12f50667dea3 Mon Sep 17 00:00:00 2001 From: Mike Tanaka Date: Fri, 11 May 2018 02:48:03 -0700 Subject: [PATCH] Make the rule name match the reported error so we can ignore it. (#209) It's defined as WCAG2AA.Principle1.Guideline1_4.1_4_3.G18, but gets reported as WCAG2AA.Principle1.Guideline1_4.1_4_3.G18.Fail --- data/standards.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/standards.js b/data/standards.js index b2bf512..f62c613 100644 --- a/data/standards.js +++ b/data/standards.js @@ -910,7 +910,7 @@ function getStandards() { description: 'If any audio plays automatically for longer than 3 seconds, check that there is the ability to pause, stop or mute the audio.' }, { - name: 'WCAG2AA.Principle1.Guideline1_4.1_4_3.G18', + name: 'WCAG2AA.Principle1.Guideline1_4.1_4_3.G18.Fail', description: 'This element has insufficient contrast at this conformance level. Expected a contrast ratio of at least 4.5:1, but text in this element has a contrast ratio of /{value/}. Recommendation: /{colour recommendations/}.' }, {