Agent skill Review & testing
Accessibility A11y
Review the accessibility of visible web interface elements and interactions.
Install the skill
Run the command from your project root with Node.js and npm.
npx skills@latest add https://github.com/mindrally/skills/tree/main/accessibility-a11y --skill accessibility-a11y --agent claude-code --yesCheck this file in your project.claude/skills/accessibility-a11y/SKILL.md
Other ways to install
Choose an assistant interactively
npx skills@latest add https://github.com/mindrally/skills/tree/main/accessibility-a11y --skill accessibility-a11ySelect your assistant and choose the project installation scope.
Official instructions
The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. Bring the editable form source and a running local fixture. Use native browser keyboard and zoom. An existing axe or Lighthouse setup can supplement the evidence.
View operation manualWhat this skill helps with
- Review the accessibility of visible web interface elements and interactions.
Good for
- Accessible interfaces
- Skill name
- accessibility-a11y
- Scenario
- Make a contact form understandable after an error
- Deliverable
- A form patch with associated labels, useful errors and recorded behavior after correction.
- Skill name
accessibility-a11y- Repository
mindrally/skills
Define a testable accessibility task
A request with an unclear outcome
Add an aria-label and a red outline to the form fields.
Users still need visible names, associated guidance and an error they can read without guessing a color.
A workflow with observable results
- Inventory labels, grouping and error states
- Implement visible, associated validation
- Verify the complete correction path
Accessibility (a11y) operation manual
Give a local form clear native semantics, visible validation and a repeatable keyboard path.
Replace the bracketed details with your own project and target.
Inventory labels, grouping and error states
Start with email, contact method and one recoverable error.
Prompt · Step 1Use accessibility-a11y on [local contact form and source file]. Inventory the visible email label, input type, group of contact options and existing error state. Compare the DOM and accessible names with what users see. Identify whether the form uses label associations, fieldset and legend for the group, and text feedback beyond color. Return the smallest proposed source changes.Implement visible, associated validation
Use native controls with the smallest ARIA addition needed.
Prompt · Step 2Use accessibility-a11y to implement [approved fixes] in [form component]. Give email a persistent visible label and an appropriate native type. Preserve related options in an explicit group and associate error guidance with the affected control. Keep error text visible, expose invalid state while the error exists, and clear it after correction. Preserve the form's existing validation and submission contract.Verify the complete correction path
Walk the error and correction with keyboard and browser zoom.
- The typed input has a real label, and the error is programmatically related.
- Keyboard entry, error recovery and zoom checks are recorded.
Prompt · Step 3Use accessibility-a11y to verify [local patched contact form] with a disposable submission. Tab through labels and the option group, trigger the chosen error, confirm visible and programmatic feedback, correct it, and read the resulting state. Repeat at 200% browser zoom where available. Report exact observed focus behavior and what requires a real screen-reader pass.
Find the relevant rule
Point the assistant to the installed Skill and a specific issue.
Related form options lack a group nameReference
- Command or reference
SKILL.md · Form Accessibility- Examples
- Name the options group with fieldset and legend.
The field error is indicated by color onlyReference
- Command or reference
SKILL.md · Visual Accessibility- Examples
- Add visible explanatory text and associate it with the field.
Accessibility (a11y) troubleshooting
Do visible labels need a duplicate aria-label?
Prefer the label relationship already provided by HTML. Use an ARIA name when a control genuinely has no suitable visible name.