Accessibility Audit Command

Accessibility Audit Command

Runs an accessibility audit by choosing quick or deep mode and handing files and axe or pa11y reports to the accessibility-auditor subagent, then returning its report.


description: Run an accessibility audit via the accessibility-auditor persona
disable-model-invocation: true


Invoke the agent-skills:accessibility-engineering skill.

/a11y runs a dedicated accessibility audit. It checks keyboard navigation, screen reader support, color contrast, form labeling, and structural WCAG 2.2 AA compliance.

Determine the mode

Deep mode — activate when any of these is available:

  • An axe-core or pa11y JSON report file (generate a combined report using the audit-script path instructions in the loaded accessibility-engineering skill)
  • A live URL — the agent can instruct the user to run the audit script above
  • Chrome DevTools MCP (for live DOM inspection, contrast checking, and rendering analysis)

Quick mode — default when no tool output is available. Scan source code for structural anti-patterns (missing labels, div-as-button, no alt text, skipped heading levels).

Run the audit

Spawn the accessibility-auditor subagent. Pass it explicitly:

  • The files, components, or diff under review
  • Any artifact paths (axe-core JSON, pa11y JSON, audit script output)
  • The target URL or component when known
  • A note on which mode you expect (Quick or Deep), so the agent surfaces missing inputs if Deep was intended

The subagent returns a WCAG scorecard, a ranked list of findings by severity, positive observations, and remediation guidance with code examples.

Output

Return the full audit report to the user. No synthesis or merge step is needed — this is a single-persona command.

© Addy Osmani · MIT · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 6,373 prompts

More by @OpenSourceBuffGuy

See all
Website Clone Architect prompt image

Website Clone Architect

Reverse-engineers a website section by section, writes component specs, and hands them to parallel builder agents in git worktrees to rebuild it.

agent-skill, orchestrator, parallel-agents, multi-agent, plan-then-execute, web-development, frontend, codebase-analysis, scaffolding, css, html, nextjs, typescript, git, mcp, claude-code, for-developers, for-designers, long-form, advanced, technical-spec, task-decomposition, structured-output, design-systems, ui-ux, tool-use, checklist, report, vibe-coding

Italian Terrace Cafe Candid Portrait prompt image

Italian Terrace Cafe Candid Portrait

Generates a photorealistic candid shot of a woman in a white corset dress laughing at a sunny hotel terrace cafe, written as detailed JSON.

image-prompt, json-prompt, structured-output, photorealistic, portrait, woman, candid, fashion, cottagecore, natural-light, golden-hour, bokeh, summer, travel, cityscape, mountains, medium-shot, vibrant-colors, for-photographers, nano-banana, fashion-shoot, luxury

Night Street Photo With Leashed Cat prompt image

Night Street Photo With Leashed Cat

Generates a flash-lit night street photo of a blonde woman in a retro track jacket walking a hissing tabby cat on a leash.

image-prompt, json-prompt, nano-banana, structured-output, portrait, woman, animals, pet-portrait, night-scene, street-photography, candid, editorial, fashion, dramatic-lighting, photorealistic, vertical-format, medium-shot, graffiti, for-photographers, for-content-creators

1 view

Reviews

Loading reviews…

Discussion

Loading comments…