Agent skill · software engineering · borghei

a11y-audit

This skill should be used when the user asks to "check accessibility", "audit WCAG compliance", "scan HTML for a11y issues", "check color contrast", or "find accessibility violations in web pages".

Why this skill is useful

Adds 3 executable scripts for automated accessibility auditing and color contrast checking that aren't in public docs.

What it needs

Requires python installed locally. About 3k tokens when loaded. Last updated 2026-07-21. 462 stars on the source repository.

What this skill does

Accessibility Audit Category: Engineering Domain: Web Accessibility Overview 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 inputs, and insufficient color contrast early in development. Clarify First Before running the audit, confirm these inputs. If any is unknown or vague, ASK — do not assume: [ ] Target & scope — which HTML files, directory, or CSS to scan (determines what gets checked and the --file/--dir/--css arguments) [ ] Conformance level — A, AA, or AAA target (sets contrast thresholds and which violations are CRITICAL vs WARNING vs INFO) [ ] Use context — one-off remediation vs CI gate (drives --strict gating and JSON output) Stop rule: ask only the 2-3 that most change the output. If the user says "just draft it," proceed and list your assumptions at the top of the artifact. Quick Start Tools Overview a11yscanner.py Scans HTML files for WCAG 2.1 violations including structural, semantic, and interactive element issues. Feature Description --------- ------------- Image alt text Detects missing or empty alt on non-decorative images Heading hierarchy Validates h1-h6 levels are sequential Form labels Ensures inputs have associated label elements ARIA attributes Checks ARIA usage correctness Link text Flags generic text like "click here" or "read more" Language attribute Checks for lang on html element Tab order Detects positive tabindex values Landmarks Validates semantic landmark usage contrastchecker.py Checks color contrast ratios against WCAG AA and AAA thresholds. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills borghei/a11y-audit

View the source on GitHub

Browse the @skills marketplace