A11y audit

From SwitchbackTech/compass-calendar · View interactive version

A11y audit is an AI agent skill from the GitHub repository SwitchbackTech/compass-calendar. Audits changed Compass UI for accessibility regressions in semantics, names, keyboard and focus behavior, ARIA, contrast, motion, and testability, then proposes minimal diff-scoped fixes. Use for UI diff reviews, accessibility audits, or flaky interaction tests.

How to use this skill

Skill file

When

UI diff review, accessibility audit, or flaky interaction tests.

Steps

Workflow, then Checklist, scoped to the diff.

Output

Minimal diff-scoped findings and proposed fixes.

Pass

Changed UI reviewed; no site-wide unrelated audit.

Anti-patterns

Do not expand into an unrelated site-wide audit. See

CODE0.

Escalate

A WCAG judgment that needs a human, or a contrast issue that needs design.

Accessibility change audit

Audit the changed UI and its immediate context. Do not turn a diff review into

an unrelated site-wide audit.

Workflow

  1. Identify changed elements, interactions, states, and styles.
  2. Exercise affected behavior with the browser tooling available to the

current agent when static inspection cannot establish focus, keyboard,

contrast, or motion behavior.

  1. Run the checklist below.
  2. Tie each finding to a changed line or behavior and propose the smallest

durable fix.

  1. Recommend role/name queries and user-driven tests.

Checklist

Semantics and names

Keyboard and focus

Escape behavior.

ARIA and state

aria-activedescendant reflect actual state and relationships.

Visual behavior

Tests

representative state.

Read docs/development/testing-playbook.md#accessibility-testing before

changing axe configuration or adding browser checkpoints.

Output

Order findings by blocker, high, medium, then low:

[severity] path:line — problem and user impact
Fix: smallest durable change
Test: semantic assertion or user flow that protects it

State when no findings are confirmed. Separate automation results from

judgment-based observations and never claim automated checks establish full

WCAG conformance.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.