agentleFS
codebygarvcodebygarv/Ai-skills/skills/ui-ux/accessibility-auditor/SKILL.md

accessibility-auditor

Skill26 starsChanged 4 months agoMITView on GitHub

Checks an interface against accessibility principles - keyboard navigation, semantic HTML, color contrast, labels, and screen-reader behavior. Use before shipping any user-facing UI, especially public-facing ones.

10 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 10 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before shipping any user-facing UI, especially public-facing products.

    line 12

“Common” is measured: kept by at least 6 in 10 of the 10 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

Purpose

Audit a UI implementation against core accessibility principles so it's usable by people relying on keyboard navigation, screen readers, or other assistive technology — not just usable with a mouse and full vision.

When to Use

  • Before shipping any user-facing UI, especially public-facing products.
  • Reviewing a form, modal, or interactive component specifically.
  • The user asks for an accessibility review/audit, or mentions WCAG/a11y compliance requirements.

What to Analyze

  1. Semantic HTML — using actual <button>, <a>, <nav>, <form>, heading levels (<h1>–<h6>) instead of generic <div>/<span> with click handlers or visual-only styling standing in for structure.
  2. Keyboard navigation — every interactive element reachable and operable via keyboard alone (Tab, Enter/Space, Escape for dismissible elements), with a visible focus indicator.
  3. Labels & names — form inputs with associated <label>s (or aria-label), buttons/icons with accessible names (not just an icon with no text alternative), images with meaningful alt text (or empty alt="" if purely decorative).
  4. Color contrast — text-to-background contrast meeting at least WCAG AA (4.5:1 for normal text, 3:1 for large text), and that meaning isn't conveyed by color alone (e.g. error state needs more than just red text).
  5. Screen reader behavior — dynamic content changes (loading states, form errors, toasts) announced via appropriate ARIA live regions; modal/dialog focus trapping and return-focus-on-close behavior.
  6. ARIA usage correctness — flag ARIA attributes used incorrectly or redundantly (ARIA on top of already-semantic HTML, or roles that don't match actual behavior) — "no ARIA is better than bad ARIA."

Output Format

  • Findings grouped by WCAG-adjacent category (Semantics, Keyboard, Labels, Contrast, Screen Reader, ARIA).
  • Each finding: the specific element/pattern, the concrete barrier it creates (what a keyboard/screen-reader user actually can't do), and the fix.
  • Note severity: Blocker (a user with a disability literally cannot complete the task) vs. Improvement (usable but suboptimal).

Avoid

  • Suggesting ARIA attributes as a first resort when fixing the underlying HTML semantics would solve it more reliably.
  • Treating passing an automated linter (e.g. axe) as equivalent to actually being usable — automated checks catch a fraction of real accessibility issues; reason about actual usage too.
  • Giving contrast/sizing advice without a concrete value — "make contrast better" isn't actionable, a specific ratio or color adjustment is.

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.