Kilotest: Diagnoses of text contrast improvable violation by HTML element 309 on California Groundbreakers page

Basics

About the California Groundbreakers page

About HTML element 309

About the text contrast improvable issue

Diagnoses

Here is how tools diagnose the text contrast improvable issue for HTML element 309 of the California Groundbreakers page.

  1. Expected color contrast ratio for small font size at least 7:1, but got ratio: 2.97:1, <code>background-color: #ffffff</code>, <code>foreground-color: #0fae0f</code>, <code>font-size: 11pt</code> (original: <code>15px</code>), <code>font-weight: 700</code>.

    Tool: ASLint (eSSENTIAL Accessibility)

    Rule: color_contrast_aaa7

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

    Tool: HTML CodeSniffer (Squiz Labs)

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