EN, Change language
Englishالعربية
OM-008

Text placed over backgrounds meets WCAG 2.2 AA contrast.

The requirement (from the design system site)

Text placed over backgrounds meets WCAG 2.2 AA contrast.

Why it matters to users

An older resident, someone with low vision, or anyone reading a phone outdoors in bright sun needs enough contrast to see the text at all. Pale text on a light background, or white text on a busy image, simply disappears for them.

How to fix it

Darken the text or lighten the background until each pair reaches WCAG 2.2 AA (4.5:1 for normal text, 3:1 for large text) using the content and background tokens, and add a solid overlay behind text placed on images. Then scan again.

How we measure it

axe color-contrast plus the measured contrast of visible text against its composited background, per page. Texts over images or backgrounds of unknown colour are reported as not measured; an element repeated on every page is named once.

"

The rule on the design system site

Related rules

Text contrast meets AA · Oman OM-008 | xfix