Kilotest: Diagnoses of text contrast improvable violation by HTML element 251 on World Wide Web Consortium page

Basics

About the World Wide Web Consortium page

About HTML element 251

About the text contrast improvable issue

Diagnoses

Here is how tools diagnose the text contrast improvable issue for HTML element 251 of the World Wide Web Consortium page.

  1. Elements must meet enhanced color contrast ratio thresholds; Element has insufficient color contrast of 6.73 (foreground color: #005a9c, background color: #f8f8fb, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 7:1

    Tool: Axe (Deque)

    Rule: color-contrast-enhanced

  2. This element has insufficient contrast at this conformance level. Expected a contrast ratio of at least 7:1, but text in this element has a contrast ratio of 6.73:1. Recommendation: change background to #fdfdff.

    Tool: HTML CodeSniffer (Squiz Labs)

    Rule: E-WCAG2AAA.Principle1.Guideline1_4.1_4_6.G17.Fail