Skill library

Agent skill Review & testing

Accessibility

Review the accessibility of visible web interface elements and interactions.

  • Accessibility

Install the skill

Installation method

Run the command from your project root with Node.js and npm.

npx skills@latest add addyosmani/web-quality-skills --skill accessibility --agent claude-code --yes

Check this file in your project.claude/skills/accessibility/SKILL.md

Other ways to install
  • Choose an assistant interactively

    npx skills@latest add addyosmani/web-quality-skills --skill accessibility

    Select 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 one editable local route. Use Chrome DevTools MCP with live Lighthouse and a tree snapshot when available. The skill also allows Lighthouse CLI or axe alongside manual checks.

View operation manual

What this skill helps with

  • Review the accessibility of visible web interface elements and interactions.

Good for

  • Accessible interfaces
Skill name
accessibility
Scenario
Fix an unnamed icon action in a local navigation bar
Deliverable
A small source repair and comparable before-and-after rule and keyboard evidence.
Skill name
accessibility

Define a testable accessibility task

A request with an unclear outcome

Get a perfect Lighthouse score and sign off the navigation.

A score can hide the component's actual operation and cannot validate automatic-rule gaps.

A workflow with observable results

  1. Locate the real unnamed action
  2. Make one native semantic repair
  3. Repeat the audit and keyboard walkthrough

Accessibility operation manual

Start with rendered evidence, make a small source fix, and repeat the exact audit and keyboard path.

Replace the bracketed details with your own project and target.

  1. Locate the real unnamed action

    Use an audit result and accessibility-tree snapshot before touching source.

    Prompt · Step 1
    Use the addyosmani/web-quality-skills accessibility skill on [local navigation route]. Run the available Lighthouse Accessibility audit or documented axe fallback. Capture the actual failing node and rendered accessible name, role and state. Try Tab and activation on the same icon action. Map observed evidence to [target component] and report any source location only when confirmed.
  2. Make one native semantic repair

    Name the action and keep decorative icon markup out of its name.

    Prompt · Step 2
    Use the addyosmani/web-quality-skills accessibility skill to edit [approved navigation component]. Keep or restore a native button for [icon action], give it a useful action name through approved visible or visually hidden text or an appropriate aria-label, and mark its decorative icon accordingly. Preserve the visible focus indicator and keyboard behavior. Show the minimal diff and expected result.
  3. Repeat the audit and keyboard walkthrough

    Verify the repaired node and its user action in the same state.

    • The icon action has a meaningful name in the rendered tree.
    • The same issue-level run and keyboard task were repeated after the patch.
    Prompt · Step 3
    Use the addyosmani/web-quality-skills accessibility skill to verify [patched navigation route]. Repeat the same audit tool and mode and inspect the same role and name in the rendered tree. Tab to the action, activate it with the expected key, and record resulting focus or expanded state. Compare issue-level evidence before and after, and identify checks that remain manual.

Find the relevant rule

Point the assistant to the installed Skill and a specific issue.

Reloading would erase the state under auditReference
Command or reference
SKILL.md · Evidence-led audit workflow
Examples
Use a live snapshot audit when that mode is available.
The icon control has no nameReference
Command or reference
references/A11Y-PATTERNS.md
Examples
Use a native button with a short, action-specific text alternative.

Accessibility troubleshooting

What if live Lighthouse is unavailable?

The skill permits using Lighthouse CLI or axe for automated coverage. Repeat the relevant rendered-tree and keyboard checks whenever available.