Kilotest: Diagnoses of contrast poor violation by HTML element 1293 on Open Secrets page

Basics

About the Open Secrets page

About HTML element 1293

About the contrast poor issue

Diagnoses

Here is how tools diagnose the contrast poor issue for HTML element 1293 of the Open Secrets page.

  1. Elements must meet minimum color contrast ratio thresholds; Element has insufficient color contrast of 2.12 (foreground color: #b2b2b2, background color: #ffffff, font size: 18.0pt (24px), 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.12:1. Recommendation: change text colour to #767676.

    Tool: HTML CodeSniffer (Squiz Labs)

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

  3. Text contrast of 2.12 with its background is less than the WCAG AA minimum requirements for text of size 24px and weight of 500

    Tool: Accessibility Checker (IBM)

    Rule: text_contrast_sufficient