agentleFS
dtsongdtsong/agentic-council/skills/advocate-a11y-audit/SKILL.md

a11y-audit

Skill0 starsChanged 6 months agoApache-2.0View on GitHub

Use when auditing accessibility compliance of a feature or codebase. Covers WCAG 2.2 AA conformance, screen reader compatibility, keyboard navigation, focus management, color contrast, reduced motion, and ARIA usage. Do not use for general UX review (use journey-mapping) or component interaction specs (use interaction-design).

19 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use perf-audit, i18n 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.
  • CorentinGCSkill

    perf-audit

    Audit de performance web — bundle size, lazy loading, memoization, images, Core Web Vitals, Server vs Client Components. À invoquer avec /perf-audit.

    Also in 3 projects that use this

  • ffsshhttiikkSkill

    i18n

    Internationalization and localization

    Also in 3 projects that use this

  • fefogarciaSkill

    dependency-audit

    Comprehensive dependency health auditing for JavaScript/TypeScript projects. Run npm audit, detect outdated packages, check for security advisories, and verify license compliance. Prioritises vulnerabilities by severity and provides actionable fix recommendations.

    Also in 3 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

  • AICreator-WindSkill

    design-review

    编码设计师工具。设计审计和修复。

    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 3 projects that use this

The file

Show its rules and text

We split this skill into the rules it gives an agent

23 rules. 0 are common, 15 are distinctive, and 8 are very specific to this project.

  • 0

    Common

    Most of the 14 edited versions we read keep these.

  • 15

    Distinctive

    This author's own choices. Worth a look.

  • 8

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    No user-provided values are used in commands or file paths.

    line 37
  2. Distinctive:

    Verify all interactive elements are reachable via Tab/Shift+Tab.

    line 51
  3. Distinctive:

    Check focus order matches visual reading order.

    line 52
  4. Distinctive:

    Verify focus trapping in modals, dialogs, and drawers.

    line 54
  5. Distinctive:

    Check skip-link presence for bypassing repetitive navigation.

    line 55
  6. Very specific:

    Verify heading hierarchy (h1-h6) is logical and unbroken.

    line 60
  7. Very specific:

    Check all images have meaningful alt text or alt="" for decorative.

    line 61
  8. Very specific:

    Verify live regions (aria-live) for dynamic content updates.

    line 63
  9. Very specific:

    Check landmark regions (<nav>, <main>, <aside>, <header>, <footer>).

    line 64
  10. Distinctive:

    Verify text contrast meets 4.5:1 for normal text, 3:1 for large text (WCAG 1.4.3).

    line 69
  11. Distinctive:

    Check non-text contrast for UI components and graphical objects at 3:1 (WCAG 1.4.11).

    line 70
  12. Distinctive:

    Verify content remains readable at 200% zoom.

    line 72
  13. Distinctive:

    Check text spacing adjustment tolerance (WCAG 1.4.12).

    line 73
  14. Very specific:

    Verify ARIA roles match element behavior (no role="button" on non-interactive elements without keyboard handlers).

    line 77
  15. Distinctive:

    Check for redundant ARIA on native semantic elements.

    line 78
  16. Distinctive:

    Verify custom widgets follow WAI-ARIA Authoring Practices patterns.

    line 80
  17. Very specific:

    Check aria-describedby and aria-labelledby reference valid IDs.

    line 81
  18. Very specific:

    Check prefers-reduced-motion media query support.

    line 85
  19. Distinctive:

    Verify no content relies solely on animation to convey meaning.

    line 86
  20. Distinctive:

    Check parallax and scrolling effects respect reduced motion preference.

    line 88
  21. Distinctive:

    Verify inline validation announces errors to screen readers.

    line 93
  22. Very specific:

    Check required fields are indicated both visually and programmatically (aria-required).

    line 94
  23. Distinctive:

    Verify autocomplete attributes on identity/payment fields (WCAG 1.3.5).

    line 96

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

A11y Audit

Purpose

Evaluate accessibility compliance against WCAG 2.2 AA criteria across perceivable, operable, understandable, and robust principles. Identify barriers for users of assistive technologies and provide actionable remediation steps.

Scope Constraints

Reads source code, templates, styles, and component markup for accessibility analysis. Does not modify files or execute code. Does not perform automated accessibility scans (recommend tooling where appropriate).

Inputs

  • Feature description or codebase path to audit
  • Target WCAG conformance level (default: AA)
  • Known assistive technologies in scope (screen readers, switch devices, etc.)
  • Any existing accessibility testing results or known issues

Input Sanitization

No user-provided values are used in commands or file paths. All inputs are treated as read-only analysis targets.

Procedure

Progress Checklist

  • Step 1: Audit keyboard navigation and focus management
  • Step 2: Evaluate screen reader compatibility
  • Step 3: Check color contrast and visual accessibility
  • Step 4: Review ARIA usage and semantic markup
  • Step 5: Assess motion and animation accessibility
  • Step 6: Verify form and error handling accessibility

Step 1: Audit Keyboard Navigation and Focus Management

  • Verify all interactive elements are reachable via Tab/Shift+Tab.
  • Check focus order matches visual reading order.
  • Confirm visible focus indicators on all interactive elements (:focus-visible).
  • Verify focus trapping in modals, dialogs, and drawers.
  • Check skip-link presence for bypassing repetitive navigation.
  • Confirm no keyboard traps (user can always Tab out of any component).

Step 2: Evaluate Screen Reader Compatibility

  • Verify heading hierarchy (h1-h6) is logical and unbroken.
  • Check all images have meaningful alt text or alt="" for decorative.
  • Confirm form inputs have associated <label> elements or aria-label.
  • Verify live regions (aria-live) for dynamic content updates.
  • Check landmark regions (<nav>, <main>, <aside>, <header>, <footer>).
  • Confirm status messages use role="status" or role="alert".

Step 3: Check Color Contrast and Visual Accessibility

  • Verify text contrast meets 4.5:1 for normal text, 3:1 for large text (WCAG 1.4.3).
  • Check non-text contrast for UI components and graphical objects at 3:1 (WCAG 1.4.11).
  • Confirm information is not conveyed by color alone.
  • Verify content remains readable at 200% zoom.
  • Check text spacing adjustment tolerance (WCAG 1.4.12).

Step 4: Review ARIA Usage and Semantic Markup

  • Verify ARIA roles match element behavior (no role="button" on non-interactive elements without keyboard handlers).
  • Check for redundant ARIA on native semantic elements.
  • Confirm aria-expanded, aria-selected, aria-checked states update correctly.
  • Verify custom widgets follow WAI-ARIA Authoring Practices patterns.
  • Check aria-describedby and aria-labelledby reference valid IDs.

Step 5: Assess Motion and Animation Accessibility

  • Check prefers-reduced-motion media query support.
  • Verify no content relies solely on animation to convey meaning.
  • Confirm auto-playing content can be paused, stopped, or hidden (WCAG 2.2.2).
  • Check parallax and scrolling effects respect reduced motion preference.

Step 6: Verify Form and Error Handling Accessibility

  • Confirm error messages are programmatically associated with inputs (aria-describedby).
  • Verify inline validation announces errors to screen readers.
  • Check required fields are indicated both visually and programmatically (aria-required).
  • Confirm form submission errors provide clear recovery instructions.
  • Verify autocomplete attributes on identity/payment fields (WCAG 1.3.5).

Compaction resilience: If context was lost, re-read the Inputs section to identify the audit target, check the Progress Checklist for completed steps, then resume from the earliest incomplete step.

Output Format

CategoryWCAG CriterionFindingSeverityRecommendation
Keyboard2.1.1 Keyboard...Critical/High/Med/Low...
Screen reader1.3.1 Info and Relationships.........
Color contrast1.4.3 Contrast (Minimum).........
ARIA4.1.2 Name, Role, Value.........
Motion2.3.1 Three Flashes.........
Forms3.3.1 Error Identification.........

Handoff

  • Hand off to interaction-design if component-level state changes are needed for accessibility remediation.
  • Hand off to artisan/visual-audit if contrast or visual design changes require design system updates.

Quality Checks

  • All interactive elements verified for keyboard accessibility
  • Focus management audited for modals, dialogs, and dynamic content
  • Screen reader heading hierarchy and landmark structure validated
  • Color contrast ratios verified against WCAG 2.2 AA thresholds
  • ARIA usage follows WAI-ARIA Authoring Practices
  • Reduced motion preferences checked
  • Form error handling is accessible
  • Each finding references a specific WCAG success criterion

Evolution Notes

<!-- Observations appended after each use -->

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.