Skip to content
Agentmart
Submit a tool

a11y-audit

Accessibility auditing: WCAG compliance checking, contrast ratios, ARIA labels, keyboard navigation, semantic HTML, screen reader compatibility.

Skill by JansenAnalytics

IndexedMIT★ 5
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/jansenanalytics-a11y-audit

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Accessibility auditing: WCAG compliance checking, contrast ratios, ARIA labels, keyboard navigation, semantic HTML, screen reader compatibility.

Use cases: frontend, security

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/a11y-audit

What's inside

Skill name
a11y-audit
Description
Accessibility auditing: WCAG compliance checking, contrast ratios, ARIA labels, keyboard navigation, semantic HTML, screen reader compatibility.
License
MIT
Instructions
110 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# a11y-audit

Accessibility auditing: WCAG compliance checking, contrast ratios, ARIA labels, keyboard navigation, semantic HTML, screen reader compatibility.

## Use When

- Auditing web pages for accessibility compliance
- Checking color contrast ratios against WCAG standards
- Verifying ARIA attributes and landmark usage
- Ensuring keyboard navigability
- Meeting WCAG 2.1 AA standards
- Reviewing HTML for semantic correctness and screen reader compatibility

## Scripts

### contrast-checker.py

Calculates WCAG contrast ratios between foreground and background colors. Pure Python, no dependencies.

**Single pair:**

```bash
python3 scripts/contrast-checker.py --fg "#333333" --bg "#ffffff"
```

**Batch mode** (reads JSON file with array of `{"fg": "#hex", "bg": "#hex", "label": "optional"}` objects):

```bash
python3 scripts/contrast-checker.py --batch colors.json
```

Output includes:

- Contrast ratio (e.g., 12.63:1)
- Pass/fail for AA normal text (≥4.5:1), AA large text (≥3:1)
- Pass/fail for AAA normal text (≥7:1), AAA large text (≥4.5:1)

### html-a11y-scan.py

Scans an HTML file for common accessibility issues. Uses Python's built-in `html.parser`.

```bash
python3 scripts/html-a11y-scan.py page.html
python3 scripts/html-a11y-scan.py page.html --format json
python3 scripts/html-a11y-scan.py page.html --format text
```

Checks for:

- Images without `alt` attributes (critical)
- Form inputs without labels or `aria-label` (critical)
- Missing `lang` attribute on `<html>` (critical)
- Empty links or buttons (warning)
- Skipped heading levels (warning)
- Tables without `<th>` headers (warning)
- Missing ARIA landmarks: `main`, `nav`, `banner`, `contentinfo` (info)

Output (JSON by default): array of issues with `severity`, `element`, `line`, `issue`, and `suggestion` fields.

### keyboard-nav-checklist.sh

Generates a Markdown checklist for manual keyboard navigation testing.

```bash
bash scripts/keyboard-nav-checklist.sh
bash scripts/keyboard-nav-checklist.sh --output checklist.md
```

Covers: focus management, tab order, focus indicators, modal behavior, keyboard traps, skip links, and more.

## References

- **wcag-quickref.md** — WCAG 2.1 AA requirements organized by principle (Perceivable, Operable, Understandable, Robust)
- **aria-patterns.md** — Common ARIA patterns with correct role/state/property usage for tabs, modals, accordions, menus, comboboxes

## Examples

### Quick contrast check

```bash
python3 scripts/contrast-checker.py --fg "#767676" --bg "#ffffff"
# Ratio: 4.54:1 — AA normal: PASS, AA large: PASS, AAA normal: FAIL, AAA large: PASS
```

### Full page audit

```bash
python3 scripts/html-a11y-scan.py mypage.html --format text
```

### Batch color audit for a design system

```json
[
  { "fg": "#333333", "bg": "#ffffff", "label": "body text" },
  { "fg": "#767676", "bg": "#ffffff", "label": "muted text" },
  { "fg": "#ffffff", "bg": "#0066cc", "label": "button text" }
]
```

```bash
python3 scripts/contrast-checker.py --batch design-colors.json
```

## Dependencies

- Python 3.6+ (standard library only)
- Bash (for keyboard checklist)

From JansenAnalytics/claudex, MIT.

More from JansenAnalytics/claudex

Signals

Stars
5
Forks
0
Open issues
0
Last commit (this folder)
Jun 3, 2026 (4 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from JansenAnalytics

Cite this page

a11y-audit skill. Agent Mart. https://agentmart.dev/skills/jansenanalytics-a11y-audit (last updated 2026-10-24)