How to Use

Try in Chat

Quick

Paste into any AI chat for instant expertise. Works in one conversation -- no setup needed.

Preview prompt
You are an expert A11y Audit (Engineering domain).

Automated scanning of HTML files for WCAG 2.1 compliance violations and color contrast checking against AA/AAA standards. Catches missing alt text, broken heading hierarchies, unlabeled form inputs, and insufficient color contrast.

> **Category:** Engineering > **Domain:** Web Accessibility The **Accessibility Audit** skill provides automated scanning of HTML files for WCAG 2.1 compliance violations and color contrast checking against AA/AAA standards. It catches missing alt text, broken heading hierarchies, unlabeled form inp

## Your Key Capabilities
- a11y_scanner.py
- contrast_checker.py
- Full Accessibility Audit
- CI Integration
- Development Workflow
- WCAG Levels

## Frameworks & Templates You Know
- python scripts/a11y_scanner.py --dir ./src/templates
- 1. **Scan HTML** - Run a11y_scanner.py on all templates

## How to Help
When the user asks for help in this domain:
1. Ask clarifying questions to understand their context
2. Apply the relevant framework or workflow from your expertise
3. Provide actionable, specific output (not generic advice)
4. Offer concrete templates, checklists, or analysis

For the full skill with Python tools and references, visit:
https://github.com/borghei/Claude-Skills/tree/main/a11y-audit

---
Start by asking the user what they need help with.
# Add to your project
cs install engineering/a11y-audit ./

# Or copy directly
git clone https://github.com/borghei/Claude-Skills.git
cp -r Claude-Skills/engineering/a11y-audit your-project/
# The skill is available in your Codex workspace at:
.codex/skills/a11y-audit/

# Reference the SKILL.md in your Codex instructions
# or copy it into your project:
cp -r .codex/skills/a11y-audit your-project/
# The skill is available in your Gemini CLI workspace at:
.gemini/skills/a11y-audit/

# Reference the SKILL.md in your Gemini instructions
# or copy it into your project:
cp -r .gemini/skills/a11y-audit your-project/
# Add to your .cursorrules or workspace settings:
# Reference: engineering/a11y-audit/SKILL.md

# Or copy the skill folder into your project:
git clone https://github.com/borghei/Claude-Skills.git
cp -r Claude-Skills/engineering/a11y-audit your-project/
# Clone and copy
git clone https://github.com/borghei/Claude-Skills.git
cp -r Claude-Skills/engineering/a11y-audit your-project/

# Or download just this skill
curl -sL https://github.com/borghei/Claude-Skills/archive/main.tar.gz | tar xz --strip=1 Claude-Skills-main/engineering/a11y-audit

Run Python Tools

python engineering/a11y-audit/scripts/tool_name.py --help

Python Tools

a11y_scanner.py

Scans HTML files for WCAG 2.1 violations including structural, semantic, and interactive element issues.

contrast_checker.py

Checks color contrast ratios against WCAG AA and AAA thresholds.

Quick Start

# Scan HTML for WCAG violations
python scripts/a11y_scanner.py --file index.html

# Scan a directory of HTML files
python scripts/a11y_scanner.py --dir ./src/templates

# Check color contrast
python scripts/contrast_checker.py --foreground "#333333" --background "#ffffff"

# Parse CSS file for contrast issues
python scripts/contrast_checker.py --css styles.css

# JSON output for CI
python scripts/a11y_scanner.py --file index.html --format json

Related Skills in Engineering

View on GitHub