agentleFS
humanity4aihumanity4ai/project_human/skills/accessibility/SKILL.md

accessibility

Skill5 starsChanged 9 months agoMITView on GitHub

Unified WCAG 2.2 accessibility audit. Crawl mode: score pages across all 86 success criteria. Session mode: return WCAG checklist for the requested level. Optional axe-core engine (Deque: automation detects ~57% of accessibility issues; manual testing still required).

  • Installs packages

123 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use author-contributions, tool-rename-deprecation 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.
  • MicrosoftSkill

    author-contributions

    Identify all files a specific author contributed to on a branch vs its upstream, tracing code through renames. Use when asked who edited what, what code an author contributed, or to audit authorship before a merge. This skill should be run as a subagent — it performs many git operations and returns a concise table.

    Also in 7 projects that use this

  • gitpod-ioSkill

    tool-rename-deprecation

    Ensure renamed built-in tool references preserve backward compatibility. Use when renaming a toolReferenceName, tool set referenceName, or any tool identifier. Run on ANY change to tool registration code. Covers legacyToolReferenceFullNames for tools and legacyFullNames for tool sets.

    Also in 5 projects that use this

  • DepressionCenterSkill

    project-preferences

    Apply repository-specific preferences when planning, implementing, or reviewing changes in this project.

    Also in 6 projects that use this

  • MicrosoftSkill

    chat-perf

    Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.

    Also in 5 projects that use this

  • DepressionCenterSkill

    create-media-pack

    Create a coordinated project branding and media pack with three accessible design options, approved vector artwork, image exports, a branding guide, and README integration. Use when asked for a repository media pack, brand kit, or complete project visual identity.

    Also in 5 projects that use this

  • +7 more from microsoft

The file

Files
SKILL.md

Accessibility Audit

Purpose

Unified WCAG 2.2 accessibility audit covering all 86 success criteria across 4 POUR principles (Perceivable, Operable, Understandable, Robust).

Two modes:

  • Crawl mode: Provide pages: [{url, html}] and get per-page scoring (0-100) with ranking, site aggregate, and detailed per-criterion findings. Manual-only criteria are flagged with manual_reason.
  • Session mode: Query the user's required WCAG level (A, AA, or AAA) and receive the complete checklist. The agent enforces all criteria in the checklist throughout the session.

Two analysis engines:

  • Regex engine (built-in, zero dependencies): 13 regex-based scoring functions covering the 41 fully automatable criteria (~48% of all 86; per wcag-criteria.ts automatable flags).
  • axe-core engine (optional, pnpm add axe-core): 57 rule checks providing ~80% automated coverage. Auto-detected at import time — silent fallback if not installed.

Boundaries

Always

  • Score real HTML against all automatable criteria
  • Return structured per-criterion results with WCAG SC ID references
  • Distinguish automated findings from manual-review items

Never

  • Claim legal compliance
  • Score criteria requiring visual inspection as if automated
  • Make external network calls

Level-Aware Scoring

  • Color contrast: no Level A requirement; AA=4.5:1 normal text / 3:1 large text (SC 1.4.3); AAA=7:1 / 4.5:1 (SC 1.4.6)
  • Level A: 31 criteria (18 automatable, 4 partial)
  • Level AA: 55 criteria cumulative (31 automatable, 8 partial)
  • Level AAA: 86 criteria cumulative (41 automatable, 15 partial)

References

Implementation guidance and enterprise patterns (merged from wcag-aaa-web-design):

  • references/wcag-aaa-checklist.md — all 86 WCAG 2.2 criteria with implementation guidance and AAA design implications
  • references/corporate-design-system.md — AAA-verified color palette with precomputed contrast ratios, type scale, BEM architecture
  • references/aria-patterns.md — ARIA widget patterns (modals, tabs, accordions, focus traps)
  • references/form-patterns.md — accessible form design and validation
  • references/security-error-handling.md — OWASP-aligned secure error handling (CSP, CSRF, output encoding)
  • references/application-states.md — loading, empty, and error state patterns
  • references/data-presentation.md — accessible data table and density patterns
  • references/navigation-patterns.md — sidebar, breadcrumb, and wayfinding patterns
  • references/responsive-breakpoints.md — mobile-first breakpoint system
  • references/corporate-ux-patterns.md — enterprise UX conventions

Templates

AAA-verified starter templates in templates/: design tokens with precomputed 7:1 contrast palette (tokens.css), BEM component library (components.css), semantic HTML partials, and defensive vanilla JS (main.js). A standalone contrast checker with auto-suggestion engine is included as templates/check_contrast.py (stdlib-only Python; can audit --color-* tokens directly from tokens.css).

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.