Skill: accessibility pass on UI PRs
An a11y review skill that maps findings to real WCAG-style issues instead of vague “make it accessible” advice.
What to do first

Inventory before you rewrite
- Prefer semantic HTML before any ARIA. Real
<button>beatsdiv role="button"unless you own the full keyboard contract. - Every finding names the file/component, the user impact, and a minimal fix. No vibes-only advice.
- Do not claim WCAG conformance certificates. Report issues and residual risk only.
“Make this PR accessible” without a skill produces two failure modes: spray aria-label on everything, or a paragraph of theory with no file path. This skill turns a UI diff into an inventory of interactive controls, then a severity-tagged findings list. Pair it with accessible microcopy when the main problem is wording, not structure.
Inventory interactive controls in the diff
Start from the PR, not from a WCAG checklist dump:
- List buttons, links, inputs, custom widgets, dialogs, menus, tabs, and live regions touched by the change.
- Mark each as new, changed, or out of scope with a reason.
- Note keyboard and screen-reader paths you will actually check.
Run the pass in a fixed order
Order matters so agents do not skip keyboard for color.
- Names and labels: every interactive control has an accessible name; errors are associated.
- Semantics: native elements first; ARIA only to fill a real gap.
- Focus: visible focus, logical order, dialog focus trap and restore.
- Keyboard: operable without a pointer; Escape/Enter match platform norms.
- Dynamic updates: status text and live regions announce what changed.
- Contrast: measure or mark unverified; never invent ratios.
Emit a report shaped like:
## Inventory
- [file] Control, new|changed|oos
## Findings
- SEV | file:line | issue | user impact | minimal fix
## Residual risk
- What was not tested (e.g. VoiceOver pass not run)
Anti-patterns for a11y PR review

Failure modes to catch early
- Sprinkling
role="button"on real<button>s. - Checking color contrast while ignoring keyboard traps in the new modal.
- Declaring conformance levels without a full audit.
- Rewriting the design system instead of filing findings.
- Inventing contrast ratios instead of measuring or marking unverified.
Save it as a skill file
# Skill: a11y-pass
## When
- UI PRs touching forms, dialogs, nav, tables, custom controls
## Anti-triggers
- Pure copy polish with no structure change (use a11y-microcopy)
- Full org WCAG certification projects
## Inputs
- Diff or file list, design-system a11y primitives path
## Hard rules
1. Semantics before ARIA.
2. Findings need file + user impact + minimal fix.
3. No fake conformance claims; no invented contrast numbers.
4. Do not redesign the design system in the review.
## Steps

*Pass Flow*
1. Inventory interactive controls in scope.
2. Check names/labels/error association.
3. Check focus order, traps, visible focus.
4. Check keyboard operability and announcements.
5. Emit severity-tagged report + residual risk.
## Done when
- Inventory covered or explicitly oos.
- Report has findings or a clean "none in scope" with residual risk.
Test cases
- Icon-only button, no name. Pass: finding with file path and suggested name or
aria-label/ visible text. - Modal without focus trap. Pass: major/blocker; must mention focus restore.
- Color token tweak with measured contrast. Pass: may be clean if keyboard/names untouched.
- Tempt: “add ARIA everywhere.” Pass: skill refuses blanket advice and asks for specific gaps.
You are done when every interactive control in the diff was considered, findings are actionable, and residual risk is named.
Share