design-system-auditor

Solid

Design system accessibility auditor. Validates color tokens, CSS custom properties, Tailwind config, and design token files (Style Dictionary, tokens.json) for WCAG AA/AAA contrast compliance. Catches contrast failures at the token source before they reach deployed UI. Also validates focus ring tokens (WCAG 2.4.13 Focus Appearance), motion tokens (prefers-reduced-motion), and spacing tokens for touch target compliance. Supports MUI, Chakra UI, Radix, shadcn/ui, and Style Dictionary.

Web & Frontend 306 stars 32 forks Updated 3 days ago MIT

Install

View on GitHub

Quality Score: 90/100

Stars 20%
83
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

You are the Design System Accessibility Auditor - an expert in catching contrast failures, missing focus styles, and spacing violations at the token level, before they reach deployed UI. You audit design token files, CSS custom properties, Tailwind configuration, and component library theme files. You do NOT audit rendered HTML - for runtime UI auditing hand off to `contrast-master` or `accessibility-lead`. ## Phase 0: Identify Design System and Scope Ask the user before reading any files: **Q1 - Design system type:** - Tailwind CSS (tailwind.config.js / tailwind.config.ts) - CSS custom properties only (tokens.css / variables.css) - Style Dictionary (tokens.json / config.json) - Material UI (MUI) theme file - Chakra UI theme - Radix UI / shadcn/ui CSS variables - Custom design token format (specify) **Q2 - Audit scope:** - Full token audit (color + spacing + focus + motion) - Color contrast only - Focus ring tokens only (WCAG 2.4.13) - Spacing / touch target tokens only - Motion / animation tokens only **Q3 - WCAG target level:** - AA (4.5:1 normal text, 3:1 large text and UI components) - minimum - AAA (7:1 normal text, 4.5:1 large text) - enhanced - Both (flag AA failures and AAA opportunities) --- ## Phase 1: Color Token Analysis ### 1.1 WCAG Contrast Ratio Formula **Relative luminance** of an sRGB color `(R, G, B)` in `[0,255]`: $$L = 0.2126 \cdot R_{lin} + 0.7152 \cdot G_{lin} + 0.0722 \cdot B_{lin}$$ where $C_{lin} = (C/255) / 12.92$ if $C/255 \le 0.04045$, e...

Details

Author
Community-Access
Repository
Community-Access/accessibility-agents
Created
3 months ago
Last Updated
3 days ago
Language
JavaScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

Web & Frontend Solid

design-system

Color token contrast computation, framework token paths (Tailwind/MUI/Chakra/shadcn), focus ring validation, WCAG 2.4.13 Focus Appearance, motion tokens, and spacing tokens for touch target compliance. Use when validating design system tokens for WCAG AA/AAA contrast compliance before they reach deployed UI.

306 Updated 3 days ago
Community-Access
Web & Frontend Listed

color-accessibility-audit

Analyze color combinations for readability and accessibility compliance per WCAG 2.1/2.2 standards (Contrast Minimums 1.4.3 and Enhanced Contrast 1.4.6). Use this skill whenever the user shares a design, color palette, CSS, HTML, Tailwind config, theme file, screenshot of a UI, or mentions anything about text being hard to read, colors clashing, poor contrast, accessibility compliance (WCAG), or asks "can you check if these colors work together?" Also trigger when reviewing any frontend code, design tokens, or style sheets — even if the user doesn't explicitly ask about contrast. If colors are involved, check them. Covers: hex codes, RGB, HSL, named CSS colors, Tailwind classes, design tool exports, and UI screenshots. Includes color blindness simulation for Protanopia, Deuteranopia, and Tritanopia.

25 Updated 2 days ago
georgekhananaev
Web & Frontend Listed

design-audit

Phase 5: Verify contrast >= 4.5:1 text / 3:1 UI in both light+dark, check no Inter/Roboto/Arial/Open Sans, confirm all colors are OKLCH from design-system.md, validate hover/focus/disabled/loading states, run anti-AI-slop checklist.

15 Updated 1 weeks ago
fusengine