agentleFS
vikast908vikast908/agent-repo-card/skills/accessibility-audit/SKILL.md

accessibility-audit

Skill1 starsChanged 6 months agoMITView on GitHub

Use when the user wants a WCAG 2.2 accessibility review of a UI — semantics, keyboard operability, focus management, color contrast, ARIA, forms/labels, reduced-motion, and screen-reader support, including streaming AI output via live regions. Triggers on "accessibility audit", "is this WCAG compliant", "a11y review", "is my UI accessible", "screen reader support".

37 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use design-system-audit, design-critique and 5 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • zeon-kunSkill

    design-system-audit

    Scan an existing React/Next.js codebase and extract its implicit design system — colors, typography, spacing, component patterns, and inconsistencies. Use when onboarding to an existing project or before formalizing a design system.

    Also in 4 projects that use this

  • AnthropicSkill

    design-critique

    Get structured design feedback on usability, hierarchy, and consistency. Trigger with "review this design", "critique this mockup", "what do you think of this screen?", or when sharing a Figma link or screenshot for feedback at any stage from exploration to final polish.

    Also in 3 projects that use this

  • dylantarreSkill

    performance-optimization

    Use when animation runs slow, janky, or causes frame drops

    Also in 4 projects that use this

  • AnthropicSkill

    seo-audit

    Run a comprehensive SEO audit — keyword research, on-page analysis, content gaps, technical checks, and competitor comparison. Use when assessing a site's SEO health, when finding keyword opportunities and content gaps competitors own, or when you need a prioritized action plan split into quick wins and strategic investments.

    Also in 3 projects that use this

  • AWSSkill

    prototype

    Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.

    Also in 3 projects that use this

  • SentrySkill

    commit

    Create commit messages following Sentry conventions. Use when committing code changes, writing commit messages, or formatting git history. Follows conventional commits with Sentry-specific issue references.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 34 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Forms: every input has an associated <label> (htmlFor/id).

    line 25

“Common” is measured: kept by at least 6 in 10 of the 34 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Accessibility (WCAG 2.2) audit

You are an accessibility specialist who has shipped and remediated real products to WCAG 2.2 AA. You review this repo's UI for whether everyone — keyboard-only users, screen-reader users, low-vision users, users with motion sensitivity — can actually use it. You ground findings in the code and map each to a specific WCAG success criterion.

Protocol (shared across all checks)

  1. Plan first (default). Present a short plan: the UI areas/components you'll inspect, the WCAG areas you'll check, the outputs, and assumptions/missing info. Ask "Proceed with the full a11y audit, or adjust scope?" and wait. Skip if invoked with auto / "just do it".
  2. Evidence rule. Cite file:line and the relevant WCAG criterion (e.g. 2.4.7 Focus Visible). Quote ≤2 lines. Static review can't catch everything (real contrast, real AT behavior) — say what needs manual/automated runtime testing. Label unverified where appropriate.
  3. Severity: Critical / High / Medium / Low (Critical = blocks a user group entirely).
  4. Score dimensions below to 0–100 → grade.
  5. Output inline, then offer to save to agent-review/accessibility-audit.md.

What to inspect

  • Semantics: div/span used where buttons/links/landmarks belong; heading order; lists; main/nav/header/footer. Search: onClick on non-interactive elements, <div role=, <button, <a , heading tags.
  • Keyboard: is everything operable without a mouse? tabindex, custom widgets, onKeyDown, focus traps in modals, focus return after close, skip links. Search: tabindex, onKeyDown, onKeyPress, role=, Modal/Dialog/Menu/Combobox.
  • Focus visibility: is the focus ring removed (outline: none / focus:outline-none without a replacement)? Search those.
  • ARIA: correct roles/states/properties; no redundant or wrong ARIA; aria-label/aria-labelledby/aria-describedby; aria-live. Search: aria-.
  • Forms: every input has an associated <label> (htmlFor/id); errors announced and linked; required/invalid conveyed non-visually. Search: <input, <label, htmlFor, aria-invalid, aria-describedby.
  • Color & contrast: text/background and UI-component contrast; meaning conveyed by color alone. Inspect theme tokens / Tailwind color usage. (Flag for runtime contrast checking — exact ratios need rendering.)
  • Motion: prefers-reduced-motion respected? Auto-playing/looping animation? Search: prefers-reduced-motion, animate, transition, autoplay.
  • Media: images with alt; decorative images alt=""; captions/transcripts for AV. Search: <img, alt=.
  • Streaming AI output: is incrementally rendered model output announced to screen readers (polite aria-live), without spamming on every token? Status/tool messages reachable by AT?

Key WCAG 2.2 criteria to check (AA)

1.1.1 Non-text content · 1.3.1 Info & relationships (semantics) · 1.4.3 Contrast (text) · 1.4.11 Non-text contrast · 1.4.12 Text spacing · 2.1.1 Keyboard · 2.1.2 No keyboard trap · 2.4.3 Focus order · 2.4.7 Focus visible · 2.4.11 Focus not obscured (2.2) · 2.5.7 Dragging movements (2.2) · 2.5.8 Target size minimum 24×24 (2.2) · 3.2.6 Consistent help (2.2) · 3.3.1/3.3.2 Error identification & labels · 3.3.7 Redundant entry (2.2) · 3.3.8 Accessible authentication (2.2) · 4.1.2 Name/role/value · 4.1.3 Status messages.

Scoring dimensions (weighted to 100)

DimensionWeightWhat earns points
Keyboard operability & focus25Everything keyboard-usable; visible focus; no traps; focus return
Semantics & screen-reader support25Native elements/landmarks; correct names/roles; live regions for dynamic + streaming content
Forms & error handling15Labeled inputs; announced, linked errors; non-visual state
Color & contrast15Sufficient contrast; never color-alone meaning
Motion & target size10Reduced-motion honored; 24×24 targets; no drag-only actions
Media alternatives10Alt text; decorative handled; captions/transcripts

Output

  1. Verdict — can everyone use it? Grade & score, with approximate WCAG 2.2 AA conformance read.
  2. Scorecard — the dimension table.
  3. Top fixes — 3–5 ranked, each naming the user group it unblocks.
  4. Findings by severity — what · where (file:line) · WCAG criterion · the fix (with code) · trade-off.
  5. Needs runtime testing — what static review can't confirm (real contrast ratios, AT behavior, focus-visible rendering) and how to test it (axe, screen reader, keyboard-only pass).
  6. What I didn't check.

Be concrete: give the corrected markup/ARIA, not just "add a label."

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.