Text elements must have sufficient color contrast against the background

distinguishable/color-contrast · WCAG 1.4.3 · Level AA

Text elements must have sufficient color contrast against the background.

WCAG SC 1.4.3 requires a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text (>=24px or >=18.66px bold). Increase the contrast by darkening the text or lightening the background, or vice versa.

Scan a page or repo for issues like this · All rules

Introduced in @accesslint/core v0.8.0