What AuditX checks
The scan uses the Lighthouse colour-contrast audit on the rendered page, which reports text whose contrast with its background is below the WCAG AA ratios. Text inside the consent dialog of a known cookie tool (such as Google Funding Choices, OneTrust, Cookiebot or Didomi) is counted apart, because the tool styles it and it is often measured while it fades in. If only that text falls short, the result is an info note, which does not lower the score. The report groups the failing elements by their text and background color pair, most used pair first, with how many elements use it and one example, because changing one pair in your stylesheet fixes every element that uses it.
Why it matters
Light grey text on white, or white text on a pale photo, is hard to read for people with low vision, for older visitors, and for anyone on a phone in sunlight.
WCAG, the guideline most accessibility rules refer to, asks for a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text.
How to fix it
- Make low-contrast text darker, or its background lighter. Often a small step, such as from #999 to #767676 on white, is enough.
- Large text means at least 24px, or about 18.5px when bold. Smaller text needs the 4.5:1 ratio.
- For text over photos, add a solid or semi-transparent overlay behind it.
- Check colours with a contrast checker before you change your brand styles.
Does your site pass this check? A free scan runs it with every other check and shows the result in about a minute.
Scan my site