Skip to content
Skill

Frontend a11y

Guides an agent to build UI to WCAG AA accessibility standards and check it in review

Frontend a11y is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
19
Last commit
License
Apache-2.0
Listing updated

Similar skills

About Frontend a11y

This skill points the agent at accessibility whenever a change touches user-facing markup, components, views, templates, stylesheets, forms, images or colour choices. It asks the agent to build with native HTML elements first, add ARIA only where no native element fits, and label controls so names, roles and states reach assistive technology.

During review the agent runs a checklist aimed at the WCAG AA level: text alternatives for images, keyboard operability with visible focus, text contrast, colour not being the sole signal, and correct structure and relationships. The skill also asks the agent to record adopted design-system conventions, such as a focus style or an accessible-name pattern, so later components follow the same approach. The skill ships as part of the mokata toolkit and expects that workflow, with its gates for recording and scope changes.

The skill ships as markdown guidance with a reference file on WCAG principles and no scripts. It works from the rendered markup and the project's recorded conventions, and it asks the agent to cite WCAG and ARIA sources and to flag anything it cannot verify.

When your agent uses it

mokata · Frontend UI + accessibility — WCAG-AA checked in review, design-system conventions remembered.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 2 files (15 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

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

/plugin marketplace add JasGujral/mokata-oss
/plugin install mokata@mostack

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/JasGujral/mokata-oss.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/frontend-a11y &&
cp -R "$tmp/src/mokata/skills/frontend-a11y" ~/.claude/skills/frontend-a11y &&
rm -rf "$tmp"

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

Claude Code docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/JasGujral/mokata-oss.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/frontend-a11y &&
cp -R "$tmp/src/mokata/skills/frontend-a11y" ~/.agents/skills/frontend-a11y &&
rm -rf "$tmp"

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

Codex docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/JasGujral/mokata-oss.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/frontend-a11y &&
cp -R "$tmp/src/mokata/skills/frontend-a11y" ~/.cursor/skills/frontend-a11y &&
rm -rf "$tmp"

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

Cursor docs on skills

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

gemini skills install https://github.com/JasGujral/mokata-oss.git --path src/mokata/skills/frontend-a11y

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

Gemini CLI docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/JasGujral/mokata-oss.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/frontend-a11y &&
cp -R "$tmp/src/mokata/skills/frontend-a11y" ~/.copilot/skills/frontend-a11y &&
rm -rf "$tmp"

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

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/JasGujral/mokata-oss.git

Then copy mokata-oss/src/mokata/skills/frontend-a11y into your agent's skills folder as frontend-a11y. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Semantic HTML first
Steers the agent toward native elements before reaching for ARIA roles.
Keyboard and focus checks
Covers keyboard operation, visible focus indicators and avoiding keyboard traps.
Contrast and colour use
Checks text contrast against AA expectations and that colour is not the only cue.
Text alternatives and labels
Reviews alt text for images and labels for form fields and controls.
Design-system memory
Records adopted component patterns and focus or contrast conventions for reuse.
WCAG reference file
Includes the WCAG principles and AA criteria with primary-source links.

Good for

  • Review a new form for labels, error messages and keyboard access
  • Check a button or menu component for keyboard operation and focus visibility
  • Audit a stylesheet change for text contrast against AA targets
  • Add accessible names and alt text to a page of images and icons
  • Build a new UI component using semantic HTML and correct ARIA where needed

Frontend a11y FAQ

When does Frontend a11y engage?

When an approach touches a UI component, view, template or stylesheet, or when a change adds or alters user-facing markup, interactive controls, images, form fields or colour and contrast choices. It does not engage for pure backend or data changes without a user-facing surface.

Does Frontend a11y run any scripts or tools?

No. The skill has no scripts and does not set allowed tools. It is guidance the agent follows, along with a reference file on WCAG.

Which accessibility standard does Frontend a11y target?

It targets WCAG level AA as the review bar, and points to the WCAG and MDN sources for exact criteria.

Are design-system conventions saved automatically?

No. Recording a convention to memory is described as a human-gated write, so it requires approval before it is stored.

How do I install Frontend a11y in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/frontend-a11y to use it in all your projects, or to .claude/skills/frontend-a11y in one project. Or install the mokata plugin, which includes it: /plugin marketplace add JasGujral/mokata-oss, then /plugin install mokata@mostack.

Does Frontend a11y 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 Frontend a11y?

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 Frontend a11y?

The closest alternatives to Frontend a11y are Accessibility, Vue a11y, Antislop human, Frontend design review and Design.

Where this comes from

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

More from JasGujral/mokata-oss

  1. Makes the agent design API contracts first and check callers before changing them

    • Open source
    • 19 GitHub stars
    • Developer tools
  2. Gives an agent NestJS rules for guards, DTO validation, modules and tests

    • Open source
    • 19 GitHub stars
    • Developer tools
  3. Guides an agent through Socratic exploration of an approach before any spec or code

    • Open source
    • 19 GitHub stars
    • Developer tools
  4. Guides an agent to capture live browser console, network and page state for tests

    • Open source
    • 19 GitHub stars
    • Developer tools
  5. Guides the agent to reproduce a reported bug with a failing test before fixing it

    • Open source
    • 19 GitHub stars
    • Developer tools
  6. Guides an agent on CI/CD pipelines, release builds and pinned supply-chain posture

    • Open source
    • 19 GitHub stars
    • Developer tools