Kilotest: Diagnoses of text contrast improvable violation by HTML element 123 on Portland Community College page

Basics

About the Portland Community College page

About HTML element 123

About the text contrast improvable issue

Diagnoses

Here is how tools diagnose the text contrast improvable issue for HTML element 123 of the Portland Community College page.

  1. Expected color contrast ratio for small font size at least 7:1, but got ratio: 6.6:1, <code>background-color: #00667a</code>, <code>foreground-color: #ffffff</code>, <code>font-size: 10pt</code> (original: <code>13.125px</code>), <code>font-weight: 400</code>. <small>Note:</small> The element is possibly visually hidden and that state might be temporary. For example the lazy loading technique can be used and the element will be visible at some point.

    Tool: ASLint (eSSENTIAL Accessibility)

    Rule: color_contrast_aaa7

  2. Elements must meet enhanced color contrast ratio thresholds; Element has insufficient color contrast of 6.6 (foreground color: #ffffff, background color: #00667a, font size: 9.8pt (13.125px), font weight: normal). Expected contrast ratio of 7:1

    Tool: Axe (Deque)

    Rule: color-contrast-enhanced

  3. 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.6:1. Recommendation: change background to #006174.

    Tool: HTML CodeSniffer (Squiz Labs)

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