a11y-aria-patterns

a11y-aria-patterns is a skill for Claude Code from RadOrigin-LLC/RAD-Claude-Skills. It costs 125 tokens per session (3,370 once invoked), scanned A, original, Apache-2.0.

A reference guide for ARIA, a set of HTML attributes and roles for describing custom interactive controls to assistive technologies. It explains roles, properties, states, and the keyboard behavior expected of common custom widgets.

In plain words
What is it for?
Use it when building or reviewing dialogs, tabs, comboboxes, live regions, and other custom widgets that need ARIA roles, labels, states, or keyboard rules.
Why use it?
It helps prevent misleading or incomplete accessibility information, especially when custom controls replace native HTML controls. It emphasizes using native elements first and keeping ARIA states synchronized with the interface.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the rad-a11y plugin — 6 skills, 1 agent shipped together

Good fit Use it when building or reviewing dialogs, tabs, comboboxes, live regions, and other custom widgets that need ARIA roles, labels, states, or keyboard rules.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/radorigin-llc/rad-claude-skills/a11y-aria-patterns
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add RadOrigin-LLC/RAD-Claude-Skills --skill a11y-aria-patterns
Clone the repo
git clone --depth 1 https://github.com/RadOrigin-LLC/RAD-Claude-Skills

Made for: Claude Code.

Or install rad-a11y, the plugin that ships this one along with the rest of its 6 skills, 1 agent.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for a11y-aria-patterns

README.md
[![agentmods](https://agentmods.dev/badge/skills/radorigin-llc/rad-claude-skills/a11y-aria-patterns/github.svg)](https://agentmods.dev/skills/radorigin-llc/rad-claude-skills/a11y-aria-patterns)
Your own site
<a href="https://agentmods.dev/skills/radorigin-llc/rad-claude-skills/a11y-aria-patterns"><img src="https://agentmods.dev/badge/skills/radorigin-llc/rad-claude-skills/a11y-aria-patterns/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for a11y-aria-patterns

Your own site · 80×15
<a href="https://agentmods.dev/skills/radorigin-llc/rad-claude-skills/a11y-aria-patterns"><img src="https://agentmods.dev/badge/skills/radorigin-llc/rad-claude-skills/a11y-aria-patterns.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 125 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,370 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00125 $0.03370
Opus 5 $0.00063 $0.01685
Sonnet 5 $0.00025 $0.00674
Haiku 4.5 $0.00013 $0.00337

Measured 11d ago against content hash 2c9165924d18, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

a11y-aria-patterns scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

archive/plugins/rad-a11y/skills/a11y-aria-patterns/SKILL.md · 403 lines

How it starts

The opening of the file, as written. The whole thing — 403 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ARIA Patterns and Authoring Practices

Skill type: Reference. This is teaching/pattern content — it explains the WAI-ARIA APG keyboard contracts and ARIA state rules for custom widgets. It is not a scanner. For static review of existing ARIA usage, use /a11y-review. For runtime verification of ARIA validity against resolved roles, use the a11y-testing skill to set up real axe.

ARIA (Accessible Rich Internet Applications) extends HTML semantics for custom, dynamic UI components. It supplements — never replaces — native HTML.

The ARIA First Principles:

  1. No ARIA is better than bad ARIA. Incorrect ARIA is worse than no ARIA.
  2. Native HTML first. Use a <button> before role="button". Use <select> before a custom combobox.
  3. You own the keyboard. Using an ARIA widget role means you are fully responsible for its keyboard behavior per the APG spec.
  4. Keep states synchronized. Every ARIA state attribute must reflect the current UI state — never hardcode them.

ARIA Fundamentals

How ARIA Works

ARIA adds three things to elements in the accessibility tree:

  • Roles — what the element is (role="dialog", role="tab")
  • Properties — static characteristics (aria-label, aria-required)
  • States — dynamic, changing values (aria-expanded, aria-checked, aria-invalid)

Accessible Names (WCAG 4.1.2)

Every interactive element needs an accessible name. The browser computes it in this priority order:

  1. aria-labelledby (references another element's text — highest priority)
  2. aria-label (inline text string)
  3. Native label element (<label for="id">)
  4. Element's own text content (for buttons and links)
  5. title attribute (last resort — inconsistent screen reader support)
<!-- Priority 1: aria-labelledby -->
<h2 id="section-title">Billing Address</h2>
<section aria-labelledby="section-title">...</section>

<!-- Priority 2: aria-label (when no visible text exists) -->
<button aria-label="Close dialog">
  <svg aria-hidden="true">...</svg>
</button>

<!-- Priority 3: Associated label -->
<label for="card-number">Card Number</label>
<input id="card-number" type="text">

<!-- Priority 4: Button text -->
<button>Submit Order</button>

Read the full file on GitHub · 403 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 403 lines · 125 tokens per session scan A 2c9165924d18

Subscribe to this mod's changes

a11y-aria-patterns is a skill published in the GitHub repository RadOrigin-LLC/RAD-Claude-Skills (5 stars, last pushed 24d ago), licensed Apache-2.0. It adds 125 tokens to every session and 3,370 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

audio-video

Load this skill whenever the project contains audio or video content, media players, podcasts, video embeds, or any / elements. Under no circumstances publish audio or video without captions, transcripts, and audio descriptions where required. Absolutely always apply WCAG 1.2 criteria for time-based media.

mgifford/accessibility-skills · 65 tokens

light-dark-mode

Load this skill whenever the project supports light/dark mode, colour theme switching, high-contrast mode, or responds to prefers-color-scheme. Under no circumstances hard-code colours that break in alternative themes. Absolutely always test colour contrast in both light and dark themes, and respect user OS-level…

mgifford/accessibility-skills · 69 tokens

maps

Load this skill whenever the project contains static or interactive maps, embedded map widgets (Google Maps, Leaflet, Mapbox, OpenStreetMap), or any geographic visualizations. Under no circumstances embed a map without a text-based alternative conveying the same information. Absolutely always ensure map controls are…

mgifford/accessibility-skills · 75 tokens

svg

Load this skill whenever the project contains SVG graphics — inline SVGs, external SVG files, SVG icons, SVG illustrations, or SVG-based data visualizations. Under no circumstances use SVG without proper accessible titles, descriptions, and ARIA roles where required. Absolutely always add and to meaningful SVGs and…

mgifford/accessibility-skills · 104 tokens

aria-live-regions

Load this skill whenever the project contains dynamic content updates, status messages, alerts, notifications, loading indicators, or any use of aria-live, role="status", role="alert", or role="log". Under no circumstances add or modify live-region markup without applying these rules. Prioritize correct politeness…

mgifford/accessibility-skills · 88 tokens

forms

Load this skill whenever the project contains forms, inputs, selects, checkboxes, radio buttons, text areas, or any validation flow. Under no circumstances create a form without visible labels, error identification, and keyboard accessibility. Absolutely always associate every input with a label and provide clear…

mgifford/accessibility-skills · 62 tokens