What problem does it solve?
This Skill addresses the critical accessibility issue of ensuring design tokens (colors, spacing, focus indicators) meet WCAG AA/AAA contrast and size requirements before they are implemented in UI, preventing costly redesigns and ensuring compliance.
Core Features & Use Cases
- Contrast Ratio Computation: Calculates WCAG contrast ratios for color pairs.
- Token Path Mapping: Identifies relevant token paths in popular frameworks (Tailwind, MUI, Chakra, shadcn/ui, Style Dictionary).
- Focus Indicator Validation: Audits focus ring implementation against WCAG 2.4.13 requirements.
- Use Case: Before releasing a new design system, use this Skill to automatically audit all color pairs against WCAG AA contrast thresholds and verify that focus rings are at least 2px wide and have sufficient contrast against their background.
Quick Start
Use the design-system skill to validate the contrast ratio between the color tokens '#6B7280' and '#FFFFFF'.