# A11y audit

> A11y audit is an open-source agent skill for developer tools. Audits UI code for accessibility defects that block keyboard and screen-reader users. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/tonyghiani/ai-essentials/tree/main/skills/a11y-audit
- **Repository:** https://github.com/tonyghiani/ai-essentials
- **GitHub stars:** 7
- **License:** MIT
- **Skill name:** a11y-audit
- **Collection:** https://github.com/tonyghiani/ai-essentials
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

This skill sends the agent into a read-only audit of UI code, looking for defects that stop people who use a keyboard or screen reader from completing tasks. It checks keyboard reachability, focus handling in modals and flyouts, accessible names for controls, and semantic markup, then covers less severe issues such as ARIA state, form error association, live regions, contrast, reduced motion and zoom behaviour.

Findings are ordered by how badly they block a user and reported as file and line references with a concrete fix. When no target is given, the agent reviews the files changed on the current branch against the default base. It is instructed to report findings rather than edit code, and to say which results need a real check such as a keyboard walkthrough, a screen-reader pass or a contrast tool.

The skill includes guidance for projects built on EUI, covering missing required accessibility props and custom code that replaces EUI components. It expects a code repository the agent can read, and it does not run scripts.

## When your agent uses it

> Audit UI code for accessibility defects that block keyboard and screen-reader users. Invoke when adding or reviewing interactive UI, a form, a modal or flyout, a custom control, or when the user asks about a11y, WCAG, screen readers, or keyboard navigation.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/tonyghiani/ai-essentials/tree/HEAD/skills/a11y-audit)
- [License: MIT](https://github.com/tonyghiani/ai-essentials/tree/HEAD/skills/a11y-audit)

## Features

- **Keyboard reachability checks:** Finds clickable non-button elements, missing key handlers and positive tabIndex values that break focus order.
- **Focus management review:** Checks that dialogs, flyouts and route changes move focus in, trap it and return it correctly.
- **Accessible name audit:** Flags icon-only buttons, unlabeled inputs, vague link text and images missing alt text.
- **Semantic markup guidance:** Prefers native elements over ARIA and checks heading order, lists, tables and fieldset grouping.
- **ARIA state and errors:** Reviews toggle, expanded and sort state, error association and live regions for async updates.
- **EUI-specific checks:** Looks for custom code replacing EUI components and missing required accessibility props.
- **Prioritised findings report:** Groups results into blocking, important and minor defects, with a list of items needing manual checks.

## Good for

- Review a new modal or flyout for focus trapping and keyboard dismissal
- Audit a form for labels, error association and invalid-state announcements
- Check a custom dropdown or tooltip for keyboard and screen-reader support
- Scan the current branch's changed UI components for accessibility defects
- Find icon-only buttons that are missing accessible names

## Install

### Claude Code

This skill ships in the `ai-essentials` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add tonyghiani/ai-essentials
/plugin install ai-essentials@ai-essentials
```

Or copy only this skill to `~/.claude/skills/a11y-audit`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tonyghiani/ai-essentials.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/a11y-audit &&
cp -R "$tmp/skills/a11y-audit" ~/.claude/skills/a11y-audit &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/a11y-audit` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/a11y-audit` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tonyghiani/ai-essentials.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/a11y-audit &&
cp -R "$tmp/skills/a11y-audit" ~/.agents/skills/a11y-audit &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/a11y-audit` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/a11y-audit` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tonyghiani/ai-essentials.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/a11y-audit &&
cp -R "$tmp/skills/a11y-audit" ~/.cursor/skills/a11y-audit &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/a11y-audit` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/tonyghiani/ai-essentials.git --path skills/a11y-audit
```

Or copy the folder to `~/.gemini/skills/a11y-audit` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/a11y-audit`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tonyghiani/ai-essentials.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/a11y-audit &&
cp -R "$tmp/skills/a11y-audit" ~/.copilot/skills/a11y-audit &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/a11y-audit` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/tonyghiani/ai-essentials.git
```

Then copy `ai-essentials/skills/a11y-audit` into your agent's skills folder as `a11y-audit`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Does the skill change any code?

No. It runs as a read-only agent and is instructed to report findings only, without editing files.

### What does A11y audit audit when no target is given?

It audits the files changed on the current branch relative to the merge base with origin/HEAD, or against a base the caller names.

### Can A11y audit confirm contrast ratios or screen-reader output?

No. The skill says reading code cannot confirm these, so it marks such items for a manual check with a contrast checker, axe DevTools or a screen reader.

### Is A11y audit tied to a specific framework?

It works for general UI code and includes extra checks for projects using EUI components.

### How do I install A11y audit in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/a11y-audit to use it in all your projects, or to .claude/skills/a11y-audit in one project. Or install the ai-essentials plugin, which includes it: /plugin marketplace add tonyghiani/ai-essentials, then /plugin install ai-essentials@ai-essentials.

### Does A11y audit run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use A11y audit?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to A11y audit?

The closest alternatives to A11y audit are Accessibility audit, Accessibility review, Accessibility engineering, Accessibility audit and Frontend a11y.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Accessibility audit](https://ai-powered.com/skills/accessibility-audit-tansuasici): Accessibility audit is an open-source agent skill for developer tools.
- [Accessibility review](https://ai-powered.com/skills/accessibility-review): Accessibility review is an open-source agent skill for developer tools.
- [Accessibility engineering](https://ai-powered.com/skills/accessibility-engineering): Accessibility engineering is an open-source agent skill for developer tools.
- [Accessibility audit](https://ai-powered.com/skills/accessibility-audit-ivy00johns): Accessibility audit is an open-source agent skill for developer tools.
- [Frontend a11y](https://ai-powered.com/skills/frontend-a11y): Frontend a11y is an open-source agent skill for developer tools.
- [Axiom audit accessibility](https://ai-powered.com/skills/axiom-audit-accessibility): Axiom audit accessibility is an open-source agent skill for developer tools.
- [Accessibility audit](https://ai-powered.com/skills/accessibility-audit-pstuart): Accessibility audit is an open-source agent skill for developer tools.
- [Accessibility](https://ai-powered.com/skills/accessibility): Accessibility is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/a11y-audit
