Text contrast (text-contrast)

Text smaller than 18pt (or 14pt bold) must meet a contrast ratio of 4.5:1 against its background.


Insufficient contrast on role button:

This element uses role="button" to simulate a semantic button. The text color and background provide a contrast ratio of 3.85:1, which fails WCAG 1.4.3 minimum contrast requirements for normal text.


My button!

Note: Possible to implement because contrast ratio can be programmatically calculated using computed CSS color values, even for elements with role="button".

axe detected: 1.4.3  |  QualWeb detected: 1.4.3