Kilotest: Diagnoses of contrast poor violation by HTML element 171 on California Groundbreakers page

Here is how tools diagnose the contrast poor issue for HTML element 171 of the California Groundbreakers page.

Basics

Diagnoses

  1. Elements must meet minimum color contrast ratio thresholds; Element has insufficient color contrast of 2.96 (foreground color: #0fae0f, background color: #ffffff, font size: 30.0pt (40px), font weight: normal). Expected contrast ratio of 3:1

    Tool: Axe (Deque)

    Rule: color-contrast

  2. 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 2.97:1. Recommendation: change text colour to #008a00.

    Tool: HTML CodeSniffer (Squiz Labs)

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

  3. Text contrast of 2.97 with its background is less than the WCAG AA minimum requirements for text of size 40px and weight of 400

    Tool: Accessibility Checker (IBM)

    Rule: text_contrast_sufficient