Kilotest: Diagnoses of text contrast improvable violation by HTML element 217 on Salesforce page

Basics

About the Salesforce page

About HTML element 217

About the text contrast improvable issue

Diagnoses

Here is how rule engines diagnose the text contrast improvable issue for HTML element 217 of the Salesforce page.

  1. Expected color contrast ratio for small font size at least 7:1, but got ratio: 4.63:1, <code>background-color: #0176d3</code>, <code>foreground-color: #ffffff</code>, <code>font-size: 12pt</code> (original: <code>16px</code>), <code>font-weight: 700</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