agentleFS
roborracleroborracle/agent-workflow-kit/skills/a11y-audit/SKILL.md

a11y-audit

Skill0 starsChanged 3 months agoMITView on GitHub

Audit frontend code for WCAG 2.1 AA accessibility compliance including semantic HTML, ARIA, keyboard navigation, and color contrast.

34 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use perf-audit, design-tokens and 10 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.
  • WhatIfWeDigDeeperSkill

    perf-audit

    Profile and optimize React application performance

    Also in 4 projects that use this

  • ilikescienceSkill

    design-tokens

    Expert in design tokens using the DTCG specification. Use this skill when users ask about design tokens, DTCG format, token validation, formatting, transformation, color spaces (sRGB, Display P3, OKLCH), references and aliasing, resolvers, theming with modifiers/contexts, multi-platform design systems, accessibility, or working with tools like jq, jsonata, and terrazzo. Helps with token file creation, resolver configuration, structure, naming conventions, and best practices.

    Also in 4 projects that use this

  • Sagargupta16Skill

    dependency-audit

    Audit project dependencies for security vulnerabilities, licensing issues, maintenance health, and optimization opportunities. Use it during regular security audits (monthly or quarterly); before a major release when you want to ensure the dependency tree is clean; when evaluating whether to adopt or replace a dependency; after a security advisory affects one of your dependencies; when your install times or bundle sizes have grown noticeably.

    Also in 3 projects that use this

  • lbednerSkill

    i18n

    Use when a code or template change introduces a new translation message key, in either the framework CLI (aegis/i18n/locales/) or a generated project's CLI (the app/i18n/locales/ template tree). Covers adding the real English string, stubbing the same key into every other locale for parity, and the separate translation PR that later replaces placeholders with reviewed native text.

    Also in 3 projects that use this

  • GitHubSkill

    refactor

    Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.

    Also in 5 projects that use this

  • VercelSkill

    deploy

    Deploy applications to Vercel. Use when the user says "deploy", "deploy to Vercel", "push to production", "deploy my app", or "go live".

    Also in 4 projects that use this

The file

Files
SKILL.md

Accessibility Audit (WCAG 2.1 AA)

Audit Checklist

1. Semantic HTML

Scan for:

  • <div> or <span> used where semantic elements should be (<nav>, <main>, <article>, <section>, <header>, <footer>, <aside>, <button>, <a>)
  • Click handlers on non-interactive elements (<div onClick> instead of <button>)
  • Missing <label> elements for form inputs
  • Missing <h1>-<h6> hierarchy (skipped heading levels)
  • Tables without <th>, <caption>, or scope attributes

2. ARIA Attributes

Scan for:

  • Interactive elements missing aria-label or visible text
  • Custom widgets missing appropriate ARIA roles
  • Dynamic content missing aria-live regions
  • Modal/dialog missing aria-modal and focus trap
  • Toggle controls missing aria-expanded or aria-pressed
  • Images missing alt text (or decorative images missing alt="")

3. Keyboard Navigation

Check for:

  • Elements with onClick but no onKeyDown/onKeyUp
  • tabIndex greater than 0 (disrupts natural tab order)
  • Missing focus styles (:focus-visible CSS)
  • Focus traps in modals/dialogs
  • Skip navigation link at page top

4. Color Contrast

Check for:

  • Text colors against background colors meeting 4.5:1 ratio (normal text)
  • Large text meeting 3:1 ratio
  • Non-text elements (icons, borders) meeting 3:1 ratio
  • Information conveyed only through color (needs shape/text alternative)

5. Motion and Media

Check for:

  • Animations without prefers-reduced-motion media query
  • Auto-playing media without pause controls
  • Flashing content (3 flashes per second limit)

Automated Scan

If available, run:

npx axe-cli http://localhost:3000 --exit 2>/dev/null || echo "axe-cli not available — manual review only"

Report Format

For each issue found:

**Severity**: Critical / Major / Minor
**Rule**: WCAG success criterion (e.g., 1.1.1 Non-text Content)
**Location**: file:line
**Problem**: What's wrong
**Fix**: Exact code change needed

Severity Guide

  • Critical: Prevents access entirely (missing alt text, no keyboard access, no labels)
  • Major: Significantly impairs experience (poor contrast, missing ARIA, broken focus)
  • Minor: Suboptimal but functional (heading hierarchy, decorative images)

Summary

ACCESSIBILITY: [PASS | ISSUES FOUND]

Critical: X issues (blocks deployment)
Major: X issues (should fix before release)
Minor: X issues (improve when convenient)

Top 3 fixes for maximum impact:
1. [fix]
2. [fix]
3. [fix]

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.