Dev Tools · 1h ago
Salt-theme-gen catches WCAG contrast failures before CSS is written
Salt-theme-gen runs 18 WCAG 2.1 contrast ratio checks at token generation time, before any components are built. It checks text legibility, brand colors on backgrounds, on-color text, and semantic colors, returning pass/fail for AA and AAA levels. All built-in presets pass AA, and the tool integrates with CI via JavaScript assertions.
Meridian48 take
This shifts accessibility left in the design process, but its value depends on teams adopting it early and maintaining custom tokens that also pass checks.
Read the full reporting
You finish the UI, run Lighthouse, and suddenly six color pairs fail WCAG AA →
DEV Community
accessibilitydesign-tokens