- Created contrast utility (apps/web/src/utils/contrast.ts) - getRelativeLuminance() - calculates WCAG relative luminance - getContrastRatio() - calculates contrast ratio between colors - meetsWCAGAA() / meetsWCAGAAA() - validates WCAG standards - parseRGB() - parses RGB strings from CSS variables - Created contrast test suite (apps/web/src/__tests__/contrast.test.ts) - Tests all design system color combinations - Validates primary text (white) on all backgrounds - Validates secondary text (dim) on all backgrounds - Validates text with opacity variants - All combinations must meet WCAG AA (4.5:1) - Added contrast test step to CI workflow - Prevents contrast ratio regressions - Action 11.1.1.5 complete |
||
|---|---|---|
| .. | ||
| ISSUE_TEMPLATE | ||
| workflows | ||
| pull_request_template.md | ||