accessibility

accessibility is a skill for Claude Code, Codex from humanity4ai/project_human. It costs 58 tokens per session (807 once invoked), scanned A, original, MIT.

An accessibility checker for web pages based on WCAG 2.2, the international guidelines for making websites usable by people with disabilities. It can inspect HTML pages or provide a checklist for level A, AA, or AAA requirements.

In plain words
What is it for?
It helps audit one or more pages, score automated criteria, rank pages, and report findings with their WCAG references. It can also guide accessibility work during a development session.
Why use it?
It helps find accessibility problems that automated checks can detect and clearly marks issues that still need human review. It also keeps automated findings separate from claims of legal compliance.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/humanity4ai/project_human/accessibility
Any agent
npx skills add humanity4ai/project_human --skill accessibility
Clone the repo
git clone --depth 1 https://github.com/humanity4ai/project_human

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for accessibility

README.md
[![agentmods](https://agentmods.dev/badge/skills/humanity4ai/project_human/accessibility.svg)](https://agentmods.dev/skills/humanity4ai/project_human/accessibility)
Your own site
<a href="https://agentmods.dev/skills/humanity4ai/project_human/accessibility"><img src="https://agentmods.dev/badge/skills/humanity4ai/project_human/accessibility.svg" alt="Measured on agentmods" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 807 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00058 $0.00807
Opus 5 $0.00029 $0.00404
Sonnet 5 $0.00012 $0.00161
Haiku 4.5 $0.00006 $0.00081

Measured 3d ago against content hash d8d93477d571, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

accessibility scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (templates/check_contrast.py, templates/main.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/accessibility/SKILL.md · 59 lines

How it starts

The opening of the file, as written. The whole thing — 59 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

Read the full file on GitHub · 59 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 59 lines · 58 tokens per session scan A d8d93477d571

Subscribe to this mod's changes

accessibility is a skill published in the GitHub repository humanity4ai/project_human (4 stars, last pushed 5d ago), licensed MIT. It adds 58 tokens to every session and 807 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

accessible-forms

Labels, errors, grouping, and autofill for mobile forms. Use this when building any screen that collects user input — login, signup, checkout, profile editing.

almasumdev/awesome-mobile-accessibility-agent-skills · 37 tokens

input-validation-a11y

Announcing validation results, shaping error messages, and recovering focus. Use this when implementing client-side validation or async server-side errors in forms.

almasumdev/awesome-mobile-accessibility-agent-skills · 34 tokens

wcag-2-2-for-mobile

WCAG 2.2 success criteria translated to mobile platforms — gestures, inputs, orientation, focus, and target size. Use this when scoping accessibility acceptance criteria for a mobile feature.

almasumdev/awesome-mobile-accessibility-agent-skills · 47 tokens

keyboard-and-hardware-input

Keyboard, D-pad, and hardware-switch support on iOS (Full Keyboard Access), Android, Flutter, and React Native. Use this when building screens that must be usable without touch.

almasumdev/awesome-mobile-accessibility-agent-skills · 43 tokens

switch-and-voice-control

Supporting iOS Switch Control + Voice Control, Android Switch Access + Voice Access, and AssistiveTouch. Use this when building any interactive UI, especially custom gestures, drag-and-drop, or non-standard controls.

almasumdev/awesome-mobile-accessibility-agent-skills · 48 tokens

rtl-support

Right-to-left (RTL) layout mirroring, bidirectional text, numerals, and accessibility implications on iOS, Android, Flutter, and React Native. Use this when supporting Arabic, Hebrew, Urdu, or Farsi locales.

almasumdev/awesome-mobile-accessibility-agent-skills · 50 tokens