Agent skill

Better Accessibility Skill: WCAG 2.2 Review and Fixes

The better-accessibility skill has an AI coding agent walk your UI by keyboard and screen reader, then report each failure against the WCAG 2.2 criterion it breaks.

Install
git clone https://github.com/jakubkrehel/skills.git
View on GitHub

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

What is the better-accessibility skill?

The better-accessibility skill is one folder in Jakub Krehel's skills repo. It reviews and fixes keyboard and focus behavior, ARIA, accessible names, forms, announcements, motion and zoom against WCAG 2.2. Each finding names the criterion it breaks or a task a user cannot finish, and fixes use your project's own styling system.

Better-accessibility reviews a project in two walks. The first is keyboard only, where every flow must finish without a mouse. The second is screen reader, where every control announces a name, a role and its state.

It prefers the platform default over a custom rebuild and removes ARIA before adding it. A finding must cite a WCAG 2.2 Level A or AA criterion by number, or a concrete task an assistive technology user cannot complete.

What it checks and fixes

  • Native elements first: button for actions, a with href for navigation, never a div with onClick.
  • Focus: :focus-visible rings, no outline removal without a verified replacement, and focused elements never hidden behind sticky headers.
  • Dialogs: prefer dialog with showModal(), move focus in on open and return it to the trigger on close.
  • Forms: real labels, autocomplete tokens, no blocked paste, errors tied to fields with aria-describedby.
  • Motion and zoom: prefers-reduced-motion, a pause control after 5 seconds, 200 percent resize and reflow at 320px.

What changes in the report

Findings are grouped under the principle they violate, one row per root cause, with a severity, a path and line, the before and after code and the reason. The report ends with Block when any HIGH remains and Approve otherwise.

Who it is for

Best for

  • Auditing a form, dialog, menu or full flow before release.
  • Catching missing accessible names, missing focus indicators and pointer-only paths, which the skill rates HIGH on sight.
  • Teams that want findings tied to WCAG criteria instead of opinions.

Not for

  • Measuring contrast values. The skill hands that to better-colors and only decides which requirement applies.
  • Rewriting error or label wording, which belongs to better-writing in the same repo.
  • Related: web-quality-audit and web-accessibility-skill.

Use it with UiChemy

Run the review on the front end code your agent produced, fix the High items, then bring the page into WordPress with UiChemy Figma to WordPress or AI to WordPress. Click Get Started on uichemy.com.