Accessibility
File-level accessibility audit with concrete line locations for every finding. Eight rules: img-missing-alt, button-without-label, link-without-text, input-without-label, positive-tabindex, click-handler-on-non-interactive, autofocus, low-contrast-token-pair. Use when the user wants to audit a11y, find accessibility regressions, or gate a PR on a11y. Run as `node ~/.claude/skills/dragoon/skills/accessibility/scripts/accessibility.js [path]`.From its SKILL.md
npx -y skills add Dragoon0x/dragoon-skills --skill accessibilityAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 4 stars4 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
- runs commandsInstructs the agent to run 6 commands, including `node ~/.claude/skills/dragoon/skills/accessibility/scripts/accessibility.js [path]` and 5 more.
SKILL.md
1.5 KB, 275 tokens by cl100k_base, as published. Nobody here has run it
/accessibility
Goes deeper than the aggregate score in /critique. Per-element, per-line findings.
When to use
- Pre-launch accessibility audit
- The user says "a11y check", "accessibility audit", "WCAG check"
- After a feature lands, before merging
Rules
a11y-001img-missing-alt (high)a11y-002button-without-label (high)a11y-003link-without-text (high)a11y-004input-without-label (high)a11y-005positive-tabindex (medium)a11y-006click-handler-on-non-interactive (medium)a11y-007autofocus (low)a11y-008low-contrast-token-pair, contrast < WCAG AA 4.5:1 (medium)
Each finding includes file, line, column, snippet, message, and a concrete fix.
Run it
dragoon accessibility # everything
dragoon accessibility --severity high # only critical
dragoon accessibility src/components # one folder
dragoon accessibility --rules # list every rule
dragoon accessibility --json # CI mode
What ships with it: 1 file
3.5 KB alongside SKILL.md, 1 of them executable
scripts/
- accessibility.jsruns3.5 KB