# Aria authoring patterns

> Aria authoring patterns is an open-source agent skill for developer tools. Guides an agent through W3C ARIA Authoring Practices patterns for custom widgets. 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/testland/qa/tree/main/plugins/qa-accessibility/skills/aria-authoring-patterns
- **Repository:** https://github.com/testland/qa
- **GitHub stars:** 18
- **License:** MIT
- **Skill name:** aria-authoring-patterns
- **Collection:** https://github.com/testland/qa
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

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.

## What it can access

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

- [Instructions only, no scripts](https://github.com/testland/qa/tree/HEAD/plugins/qa-accessibility/skills/aria-authoring-patterns)
- [License: MIT](https://github.com/testland/qa/tree/HEAD/plugins/qa-accessibility/skills/aria-authoring-patterns)

## Features

- **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

## Install

### Claude Code

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

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

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

```sh
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.

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Frontend a11y](https://ai-powered.com/skills/frontend-a11y): Frontend a11y is an open-source agent skill for developer tools.
- [Frontend UI engineering](https://ai-powered.com/skills/frontend-ui-engineering): Frontend UI engineering is an open-source agent skill for developer tools.
- [Wcag keyboard navigation](https://ai-powered.com/skills/wcag-keyboard-navigation): Wcag keyboard navigation 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.
- [Vue a11y](https://ai-powered.com/skills/vue-a11y): Vue a11y is an open-source agent skill for developer tools.
- [Frontend UI engineering](https://ai-powered.com/skills/frontend-ui-engineering-ajyadav013-2): Frontend UI engineering is an open-source agent skill for developer tools.
- [Frontend patterns](https://ai-powered.com/skills/frontend-patterns-fmarzochi): Frontend patterns is an open-source agent skill for developer tools.
- [Webapp testing](https://ai-powered.com/skills/webapp-testing-github): Webapp testing is an open-source agent skill for browser automation.

---
Source: https://ai-powered.com/skills/aria-authoring-patterns
