sprezzature-accessibility
Accessibility
Pre-commit static HyperText Markup Language (HTML) accessibility lint for vanilla-JavaScript (JS) + Tailwind output: fifteen rules decidable from source, no browser, no runtime Document Object Model (DOM).
Makes
- JavaScript Object Notation (JSON) / stdout / exit codes for pre-commit and continuous integration (CI)
- An opt-in "comfortable reading" CSS toggle at the WCAG 1.4.12 Text Spacing minimums, for pages that ship it as a reader-facing setting
Audits
- Missing alt, unlabelled inputs, button-without-text, clickable div
- Missing dialog close, lang attribute, heading order
- Color-only state, motion-reduce guards, tight letter-spacing on running text
- A fast, deterministic gate (fifteen rules total), not a replacement for axe-core / Pa11y / Lighthouse
Say one of these
The skill triggers itself on phrasing like this, no command to memorize.
a11y lint
check this HTML for accessibility
static a11y check
WCAG-friendly lint
missing alt
unlabelled input
ARIA / keyboard check
fix accessibility
Reference library
The knowledge the skill draws on: read them straight from the repo.