Agent skill

Fixing Accessibility Skill

A skill that makes your coding agent audit HTML for missing names, broken keyboard access, bad focus handling and unlinked form errors, then fix them with small edits.

Install
git clone https://github.com/ibelick/ui-skills.git
View on GitHub

Stars, license and last push from GitHub. Install count as reported by the open skills directory.

What is the fixing-accessibility skill?

The fixing-accessibility skill is a SKILL.md from the ibelick/ui-skills repo. It gives your coding agent nine ranked rule groups, from accessible names and keyboard access to contrast and motion. Run it on a file and it reports each violation with the exact snippet, a one-line reason and a minimal fix.

fixing-accessibility is an agent skill from the ibelick/ui-skills repo. It is a single SKILL.md that tells your coding agent how to audit HTML and component code for accessibility problems, and how to fix them with small edits.

Its rules are ranked in nine groups by impact. Accessible names, keyboard access and focus handling are marked critical, while media and motion sit near the bottom. The agent works through them in that order.

What changes in your agent's output

  • An icon-only button gets an aria-label and its decorative SVG gets aria-hidden
  • A div with an onclick becomes a real button
  • A form error gets an id, and the input points to it with aria-describedby and aria-invalid
  • A dialog traps focus, sets initial focus inside and returns focus to the trigger on close
  • Review mode quotes the exact line, gives a one-sentence reason and proposes a concrete fix

Run /fixing-accessibility to apply the rules to all UI work in the conversation, or /fixing-accessibility <file> to review one file. The skill tells the agent not to rewrite large parts of the UI. For animation jank, pair it with fixing-motion-performance.

The nine rule groups

PriorityGroupImpact
1Accessible namesCritical
2Keyboard accessCritical
3Focus and dialogsCritical
4SemanticsHigh
5Forms and errorsHigh
6AnnouncementsMedium-high
7Contrast and statesMedium
8Media and motionLow-medium
9Tool boundariesCritical

Who it is for

Best for

  • Frontend work with new buttons, links, inputs, menus, dialogs, tabs or dropdowns
  • Forms with validation, helper text and error states
  • Icon-only controls and hover-only interactions
  • Reviewing AI-generated components before they ship

Not for

  • A formal WCAG conformance report. It is a rule list for an agent and cites no success criteria
  • Large refactors or moving to a different UI library. The skill forbids both unless you ask
  • Testing a live page with a screen reader. It reviews source files

Use it with UiChemy

If you bring an AI-generated build into WordPress with UiChemy AI to WordPress, run this skill on the markup first. Then check keyboard focus again on the imported Elementor or Gutenberg page, since the skill reviews source, not the converted result.