Skill library

Agent skill Review & testing

Fixing 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 ibelick/skills --skill fixing-accessibility --agent claude-code --yes

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

Other ways to install
  • Choose an assistant interactively

    npx skills@latest add ibelick/skills --skill fixing-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. Open the target component and a local preview. Bring the expected actions and a safe test state for keyboard and accessible-name verification.

View operation manual

What this skill helps with

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

Good for

  • Accessible interfaces
Priority
Accessible names, keyboard paths, and focus before optional improvements.
Review format
An exact snippet, one sentence about its effect, and a specific code fix.
Scope
Small semantic or behavior repairs in existing components and primitives.
Skill name
fixing-accessibility
Repository
ibelick/skills

Start with the action and the control that owns it

ARIA added everywhere

Put ARIA roles on every icon in the toolbar.

The action needs a meaningful name and a keyboard path. Extra attributes on icons can produce confusing announcements.

One testable control repair

  1. Find which element receives clicks and keyboard focus.
  2. Use native semantics or the current accessible primitive.
  3. Verify the name, keyboard action, and focus in the running interface.

Fixing Accessibility operation manual

Use the publisher’s file workflow to fix an icon toolbar or an expandable details panel. Replace bracketed details with the real component and preview.

Review the controls a user needs to open Search, copy a link, or toggle a view.

  1. Identify the intended action and computed name

    Check the actual buttons and links, their focus order, and which action each performs.

    Prompt · Step 1
    Use the installed fixing-accessibility skill to review [toolbar file and local route]. Identify each icon-only action, its actual interactive element, name, and keyboard activation path. Confirm which controls are actions, navigation, or stateful toggles. Reproduce any missing name, invisible focus, or pointer-only control in the preview if available. Quote the exact snippet, explain the user impact in one sentence, and propose the smallest existing-component fix. Keep the review to this toolbar.
  2. Repair the selected control

    Give the actual control the name and native interaction it needs.

    Prompt · Step 2
    Use fixing-accessibility to repair [confirmed toolbar issue] in [toolbar file and route]. Capture the failure first. Use the existing Button or link primitive and the appropriate native control type. Give an icon-only button a meaningful accessible name, hide a purely decorative icon from assistive technology, and keep a visible focus indicator. For a toggle, expose its actual state through the current component’s supported semantics. Preserve the action, order, and design system. Avoid broad UI library or layout changes.
  3. Verify the repaired action in the toolbar

    Check the computed accessibility properties and operate the actual control by keyboard.

    • The control has a useful name and the expected role.
    • The keyboard activates the same operation successfully.
    Prompt · Step 3
    Use fixing-accessibility to check [repaired toolbar control and local route]. Open the same fixture state and use Tab and Shift+Tab to reach the control. Activate it with the keys appropriate to its semantics and confirm the intended action or toggle state. Check a visible focus indicator and the computed name and role. If a screen reader is available, confirm the actual speech. Report the changed snippet, observed behavior, and anything not verified.

Find the matching accessibility rule

Name the real element and point to the relevant section.

An icon action has no meaningful nameNames
Command or reference
SKILL.md · accessible names
Examples
Put the accessible name on the control and mark a purely decorative icon accordingly.
A pointer action lacks a keyboard pathKeyboard
Command or reference
SKILL.md · keyboard access
Examples
Check native button or link semantics and run the action using the keyboard.
The details panel changes but the state does notState
Command or reference
SKILL.md · announcements
Examples
Compare the trigger’s aria-expanded and controlled region against actual visibility.

Fixing Accessibility troubleshooting

What if /fixing-accessibility is not offered by my assistant?

Name the installed skill in your request and give the file path. Ask for the exact snippet, user impact, and minimal code correction.

Does every icon need an accessible label?

Name the interactive control for its action. A purely decorative icon inside it can be hidden from assistive technology.

Can a code-only review verify keyboard and screen-reader behavior?

It can inspect semantics and handlers. Verify keyboard behavior and actual speech on a running page with the required input and assistive technology.