← All WCAG & EAA Fix Guides

serious EN 301 549 § 9.1.4.3

color-contrast: Text and foreground elements must meet WCAG AA contrast

Normal body text requires at least 4.5:1 contrast against its background; large text (24px+ or 18.66px+ bold) requires at least 3:1.

Why this matters for EAA & ADA compliance

Low-contrast gray buttons, sale badges, and muted checkout labels are unreadable for users with low vision or color-vision deficiency and fail automated EAA screening.

Mapped standards: 1.4.3 Contrast (Minimum) (Level AA) • EN 301 549 § 9.1.4.3

Standard HTML Fix

Before (fails color-contrast):
<button style="background:#38bdf8;color:#ffffff">Add to cart</button>
After (accessible source markup):
<button style="background:#0369a1;color:#ffffff">Add to cart</button>

Shopify Liquid Fix

Before:
.btn-primary { background: {{ settings.accent_color }}; color: #fff; } /* 2.4:1 */
After:
.btn-primary { background: #0f4c81; color: #ffffff; } /* 8.7:1 WCAG AAA */

React / Next.js Fix

Before:
<span className="text-slate-400 bg-white">Out of stock</span>
After:
<span className="text-slate-700 bg-white">Out of stock</span>

Check your live site for color-contrast right now

Public HTTPS URL (e.g. https://yourstore.com). Runs headless Chromium + axe-core + overlay detection.
Error: Enter a valid public website URL starting with https://