/a11y-audit

/a11y-audit is a command for Claude Code from gonzalezpazmonica/pm-workspace. It costs 75 tokens per session (678 once invoked), scanned A, a copy of /a11y-audit, MIT.

An accessibility auditing command that scans HTML pages and components against WCAG 2.2, a standard for making websites usable by people with disabilities. It produces a report with actionable remediation guidance.

In plain words
What is it for?
It helps detect missing image descriptions, poor color contrast, keyboard-navigation problems, incorrect ARIA labels, focus issues, heading-order errors, and unlabeled form fields.
Why use it?
It finds barriers that may prevent people from navigating or understanding a site with keyboards, screen readers, or other assistive technology. This gives developers a concrete list of issues to address.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: agent in frontmatter.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is /a11y-audit --url ./components/button.html --scope component --lang es.

Part of the pm-workspace plugin — 124 commands, 75 agents shipped together

Good fit It helps detect missing image descriptions, poor color contrast, keyboard-navigation problems, incorrect ARIA labels, focus issues, heading-order errors, and unlabeled form fields.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/gonzalezpazmonica/pm-workspace
agentmods
npx agentmods add commands/gonzalezpazmonica/pm-workspace/a11y-audit

Made for: Claude Code.

Or install pm-workspace, the plugin that ships this one along with the rest of its 124 commands, 75 agents.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/gonzalezpazmonica/pm-workspace/a11y-audit/github.svg)](https://agentmods.dev/commands/gonzalezpazmonica/pm-workspace/a11y-audit)
Your own site
<a href="https://agentmods.dev/commands/gonzalezpazmonica/pm-workspace/a11y-audit"><img src="https://agentmods.dev/badge/commands/gonzalezpazmonica/pm-workspace/a11y-audit/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-audit

Your own site · 80×15
<a href="https://agentmods.dev/commands/gonzalezpazmonica/pm-workspace/a11y-audit"><img src="https://agentmods.dev/badge/commands/gonzalezpazmonica/pm-workspace/a11y-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 678 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 100% copy Near-identical to another mod 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.00075 $0.00678
Opus 5 $0.00037 $0.00339
Sonnet 5 $0.00015 $0.00136
Haiku 4.5 $0.00007 $0.00068

Measured 7d ago against content hash 9dd5ac06b88f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

/a11y-audit 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 7d 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.

Origin

This is a copy

100% identical to /a11y-audit — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/commands/a11y-audit.md · 88 lines

What it actually says

/a11y-audit — Auditoría de Accesibilidad WCAG 2.2

Realiza una auditoría exhaustiva de accesibilidad según estándares WCAG 2.2. Analiza componentes HTML, detecta problemas comunes de inclusión digital y proporciona recomendaciones accionables.

Sintaxis

/a11y-audit [--url URL] [--scope page|site|component] [--standard WCAG2.2-AA|WCAG2.2-AAA] [--lang es|en]

Parámetros

  • --url URL: URL o ruta del componente a auditar
  • --scope:
    • page — Analiza una página individual
    • site — Escanea todo el sitio (limitado)
    • component — Componente específico
  • --standard:
    • WCAG2.2-AA — Nivel AA (recomendado)
    • WCAG2.2-AAA — Nivel AAA (máximo)
  • --lang: Idioma del reporte (es o en)

Problemas Detectados

Crítico

  • Alt text faltante en imágenes
  • Botones sin contenido accesible
  • Formularios sin etiquetas
  • Navegación sin teclado
  • Contraste insuficiente (< 4.5:1)

Mayor

  • Alt text poco descriptivo
  • Etiquetas ARIA conflictivas
  • Encabezados saltados
  • Focus trap
  • Iframe sin título

Menor

  • Iconos sin descripción
  • Title innecesarios
  • Orden de tabulación subóptimo
  • Espaciado insuficiente táctil

Salida

Reporte con:

  • Puntuación 0-100
  • Problemas por severidad
  • Ubicación exacta en DOM
  • Código problemático
  • Instrucciones de fix
  • Métricas WCAG
  • Tendencia histórica

Ejemplos

/a11y-audit --url https://ejemplo.com --scope site --standard WCAG2.2-AA
/a11y-audit --url ./components/button.html --scope component --lang es
/a11y-audit --url /dashboard --scope page --standard WCAG2.2-AAA

Características

Análisis Profundo: Estructura HTML, atributos, CSS, estados focus, tabindex.

Compatibilidad: axe, WAVE, Lighthouse.

Accionable: Código correctivo incluido.

Multiidioma: Español e inglés.

Legal: Conformidad WCAG 2.2 AA/AAA.

Uso

Para desarrolladores, QA y arquitectos de calidad garantizando experiencias inclusivas.

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. 7d ago First seen · 88 lines · 75 tokens per session scan A 9dd5ac06b88f

Subscribe to this mod's changes

/a11y-audit is a command published in the GitHub repository gonzalezpazmonica/pm-workspace (49 stars, last pushed 5d ago), licensed MIT. It adds 75 tokens to every session and 678 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to /a11y-audit, differing in 0 lines, and is treated as a copy.