Rule Frontend

Color Contrast

Maintain WCAG AA contrast ratio for all text

frontendaccessibilitydesign
CLAUDE.md

Maintain WCAG AA contrast ratio: 4.5:1 for normal text, 3:1 for large text. Test with a contrast checker. Don’t rely on color alone to convey information — add icons, patterns, or text.

Copy this block into your CLAUDE.md or agent config file to enforce it in your workflow.

get crystl