New Tool Radar

Design Accessibility

How to Check Enhanced Text Contrast in an AI Design

Check that body text in an AI design reaches the enhanced 7:1 contrast ratio for low-vision readers.

Schematic diagram: steps to check wcag 1.4.3 contrast (minimum) on an AI-designed page — with a practice result of 4 of 6 checks passing and 2 failing for the fictional Maple Corner article page.

An AI design tool can lay out a page that looks finished and still fail the accessibility rule it was supposed to follow. WCAG 1.4.3 Contrast (Minimum) is the rule this guide checks: the AAA enhanced level raises the bar to 7:1 for normal text and 4.5:1 for large text, for readers with vision loss around 20/80. A design that passes by eye can still fail it, so check the rule itself, not the look of the page.

What the rule asks

WCAG 1.4.3 Contrast (Minimum) asks that the AAA enhanced level raises the bar to 7:1 for normal text and 4.5:1 for large text, for readers with vision loss around 20/80. The rule is written for the reader who cannot see the page the way you do, so the check has to be made from that reader’s point of view: keyboard only, colour removed, or screen reader only.

How to check it

Measure every text style against its background and compare it with the 7:1 enhanced bar.

  1. List every text style and measure it against its background
  2. Compare body text with the 7:1 enhanced bar, not just the 4.5:1 minimum
  3. Compare large text with the 4.5:1 enhanced bar
  4. Check secondary text such as captions and footnotes, which are usually the palest
  5. Confirm the enhanced level is treated as a target for reading text, not for logos

Practice check: fictional Maple Corner

The table below is fictional practice material, with fictional values. It is the expected result for the practice page, worked out against the WCAG Understanding page, not a run of any accessibility tool.

Check As shown Result
Body text near-black on white, 15.8:1 Pass
Headings near-black on white, 15.8:1 Pass
Button labels white on dark blue, 8.6:1 Pass
Large text dark grey on white at 28px, 7.1:1 Pass
Caption text mid-grey on white, 4.5:1 Fail — darken it to reach 7:1
Footnote text light grey on white, 3.9:1 Fail — darken it to reach 7:1

Four of the six checks pass, and two fail. The passing checks show the design follows the rule in most places, but the two failing checks would block a reader on every visit if they went out unchecked.

Expected result. We checked the Maple Corner article page against WCAG 1.4.3 Contrast (Minimum). We did not run any accessibility tool on the page.

Limits

  • No accessibility tool was run on the Maple Corner article page, and Maple Corner is fictional. The table above is the expected result for the practice page, not a test of any product.
  • This guide checks one criterion on one page. A page that passes this check can still fail other criteria; check each rule separately.
  • Ratios in this guide are the thresholds from the WCAG Understanding page. A ratio of 4.499:1 fails a 4.5:1 requirement; ratios are not rounded.
  • It does not check the design’s brand colours. A design that passes this check can still use the wrong brand colour; check colours separately.

Sources

See all