Kilotest: Diagnoses of text contrast improvable violation by HTML element 137 on Freedom of the Press Foundation page

Basics

About the Freedom of the Press Foundation page

About HTML element 137

About the text contrast improvable issue

Diagnoses

Here is how tools diagnose the text contrast improvable issue for HTML element 137 of the Freedom of the Press Foundation page.

  1. Elements must meet enhanced color contrast ratio thresholds; Element has insufficient color contrast of 5.21 (foreground color: #ffffff, background color: #da0a08, font size: 15.0pt (20px), 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 5.21:1. Recommendation: change background to #b60200.

    Tool: HTML CodeSniffer (Squiz Labs)

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