Skip to content

sprezzature-accessibility

Accessibility

Pre-commit static HyperText Markup Language (HTML) accessibility lint for vanilla-JavaScript (JS) + Tailwind output: fourteen 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)

Audits

  • Missing alt, unlabelled inputs, button-without-text, clickable div
  • Missing dialog close, lang attribute, heading order
  • Color-only state, motion-reduce guards, and more: fourteen rules
  • A fast, deterministic gate, 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.