Skip to content
Skill

Aria authoring patterns

Guides an agent through W3C ARIA Authoring Practices patterns for custom widgets

Aria authoring patterns 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
18
Last commit
License
MIT
Listing updated

Similar skills

About Aria authoring patterns

This skill gives the agent the W3C ARIA Authoring Practices Guide patterns for widgets that have no single native HTML element, such as comboboxes, dialogs, menus, tabs and tree views. For each pattern it lays out the required roles and states, the expected keyboard interaction and the usual mistakes to avoid.

The skill steers the agent toward native HTML first and only reaches for custom ARIA when the design demands it. It includes short markup examples, a reference table of commonly used aria-* states, and a list of frequent failures such as keyboard-less custom buttons, redundant aria-label use and live regions created together with their message. It also covers test ideas, for example checking role and pressed state with Playwright queries.

No scripts are bundled. The skill is plain instructions and references, so it works with whatever browser or test tooling the project already uses.

When your agent uses it

Use when building or reviewing a custom interactive widget with no native HTML equivalent (combobox, dialog, menu, tabs, tree and more). Gives the W3C ARIA Authoring Practices pattern: required roles and states, keyboard interaction and common violations.

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 18 files (102 KB) on GitHub on 5 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 qa-accessibility plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add testland/qa
/plugin install qa-accessibility@testland-qa

Or copy only this skill to ~/.claude/skills/aria-authoring-patterns:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/testland/qa.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/aria-authoring-patterns &&
cp -R "$tmp/plugins/qa-accessibility/skills/aria-authoring-patterns" ~/.claude/skills/aria-authoring-patterns &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/aria-authoring-patterns inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/aria-authoring-patterns to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/testland/qa.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/aria-authoring-patterns &&
cp -R "$tmp/plugins/qa-accessibility/skills/aria-authoring-patterns" ~/.agents/skills/aria-authoring-patterns &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/aria-authoring-patterns inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/aria-authoring-patterns to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/testland/qa.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/aria-authoring-patterns &&
cp -R "$tmp/plugins/qa-accessibility/skills/aria-authoring-patterns" ~/.cursor/skills/aria-authoring-patterns &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/aria-authoring-patterns 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/testland/qa.git --path plugins/qa-accessibility/skills/aria-authoring-patterns

Or copy the folder to ~/.gemini/skills/aria-authoring-patterns yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/aria-authoring-patterns:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/testland/qa.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/aria-authoring-patterns &&
cp -R "$tmp/plugins/qa-accessibility/skills/aria-authoring-patterns" ~/.copilot/skills/aria-authoring-patterns &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/aria-authoring-patterns inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/testland/qa.git

Then copy qa/plugins/qa-accessibility/skills/aria-authoring-patterns into your agent's skills folder as aria-authoring-patterns. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Widget pattern reference
Covers the APG patterns for form controls, containers, feedback indicators and content.
Required roles and states
Lists the roles and aria-* states each custom widget needs to be exposed correctly.
Keyboard interaction model
Describes expected key behaviour such as arrows, Home, End, Enter and Escape per pattern.
Common ARIA failures
Flags frequent mistakes like missing keyboard handlers, misused aria-hidden and wrong tabindex.
Live region guidance
Explains placing an empty status or alert region in the markup before announcing messages.
Native-first checklist
Points out when a native HTML element should replace a custom ARIA widget.

Good for

  • Build an accessible combobox with autocomplete
  • Review a custom modal dialog for focus and ARIA correctness
  • Check a hand-rolled tabs component against the APG pattern
  • Fix a site navigation menu that wrongly uses menu roles
  • Add an announcement region for form save confirmations

Aria authoring patterns FAQ

When does Aria authoring patterns trigger?

It applies when building or reviewing a custom interactive widget that has no native HTML equivalent, such as a combobox, dialog, menu, tabs or tree.

Does Aria authoring patterns include scripts or tools?

No. It has no bundled scripts; it consists of instructions and reference material.

Which patterns does Aria authoring patterns cover?

It references the 31 patterns in the W3C ARIA Authoring Practices Guide, with per-pattern essentials for combobox, tabs, disclosure, tooltip and others.

How do I install Aria authoring patterns in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/aria-authoring-patterns to use it in all your projects, or to .claude/skills/aria-authoring-patterns in one project. Or install the qa-accessibility plugin, which includes it: /plugin marketplace add testland/qa, then /plugin install qa-accessibility@testland-qa.

Does Aria authoring patterns 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 Aria authoring patterns?

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 Aria authoring patterns?

The closest alternatives to Aria authoring patterns are Frontend a11y, Frontend UI engineering, Wcag keyboard navigation, Accessibility and Vue a11y.

Where this comes from

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

More from testland/qa

  1. Builds a CI ratchet that fails PRs only on new accessibility violations

    • Open source
    • 18 GitHub stars
    • Developer tools
  2. Adds automated axe-core accessibility scans to Playwright, Cypress and CI pipelines

    • Open source
    • 18 GitHub stars
    • Developer tools
  3. Builds manual screen-reader test scripts and signed sign-off reports for a feature

    • Open source
    • 18 GitHub stars
    • Developer tools
  4. Checks color pairs and design tokens against WCAG contrast ratios for text and UI

    • Open source
    • 18 GitHub stars
    • Design and media
  5. Aggregates multi-page accessibility scans into a WCAG 2.2 conformance report

    • Open source
    • 18 GitHub stars
    • Documentation review
  6. Checks and tests keyboard operability, focus order and focus visibility against WCAG 2.2

    • Open source
    • 18 GitHub stars
    • Developer tools