Static analysis for Tailwind CSS accessibility. Resolves utility classes into their real computed values — colors, sizes, focus behavior — to catch WCAG violations before they ship, instead of at a Lighthouse audit or QA pass.
| Package | Description |
|---|---|
tailwind-a11y |
CLI and analysis engine |
eslint-plugin-tailwind-a11y |
ESLint rules |
vscode-tailwind-a11y |
Live editor diagnostics |
github-action-tailwind-a11y |
Inline PR annotations (uses: chamroro/tailwind-a11y@v0) |
All four run the same three checks — color contrast (WCAG 1.4.3), touch target size (WCAG 2.5.8), and focus indicator removal (WCAG 2.4.7) — through one shared engine, so results never disagree between them. See each package's README for install and usage.
npm install
npm run build --workspaces
npm test --workspaces --if-presentnpm workspaces, no extra tooling. Versioning, publishing, and CI/release setup are documented in CLAUDE.md.
MIT