- Home
- Skills
- UX & UI Design
- WCAG 2.2 AA Website Accessibility Audit
Works with the AI Agents you already use
WCAG 2.2 AA Website Accessibility Audit
by Saizul Amin
Audit HTML files and templates for mechanical WCAG 2.2 A/AA failures with deterministic reporting and fix suggestions.
$9
WCAG 2.2 AA Website Accessibility Audit
Example session with this skill installed
Run the WCAG 2.2 AA Website Accessibility Audit skill on my project and give me a prioritised list of what to fix, with exact changes.
- Read your context and instructions
- Compiled the wcag 2 2
Here is what the WCAG 2.2 AA Website Accessibility Audit skill produced.
Demo: real, unedited output of the skill's bundled script on a sample input from its test suite.
Output
wcag-html-audit: -Users-SaizulAmin-Saizul-Old-PC-Saizul-com/bc16f08c-2133-4c9b-92e4-fd071b48ec64/scratchpad/src/accessibility-a11y-skills/tests/fixtures/html/bad_page.html - 19 high, 7 medium, 2 low, 1 info
HIGH html.lang_missing [WCAG 3.1.1] (line 1 html): <html> has no lang attribute; screen readers guess the pronunciation
fix: add lang="en" (or the page language) to <html>
HIGH document.title_missing [WCAG 2.4.2] (line 1 html): the page has no (or an empty) <title>
fix: add a unique, descriptive <title>: 'Page topic - Site name'
HIGH meta.viewport_zoom_blocked [WCAG 1.4.4] (line 3 meta): viewport blocks zoom (width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no)
fix: remove user-scalable=no and maximum-scale (or set maximum-scale>=5)
HIGH meta.refresh [WCAG 2.2.1] (line 4 meta): page refreshes or redirects after 30s
fix: use a server-side redirect, or let the user extend/stop the timer
HIGH img.alt_missing [WCAG 1.1.1] (line 8 img): <img src='/logo.png'> has no alt attribute
fix: describe the image in alt="...", or alt="" if it is purely decorative
HIGH link.empty [WCAG 2.4.4, 4.1.2] (line 8 a): link to '/' has no accessible name
fix: add link text, alt text on the image inside it, or aria-label
HIGH link.empty [WCAG 2.4.4, 4.1.2] (line 9 a): link to '/cart' has no accessible name
fix: add link text, alt text on the image inside it, or aria-label
HIGH button.empty [WCAG 4.1.2] (line 10 button.menu): button has no accessible name (icon-only?)
fix: add visible text, aria-label, or visually hidden text inside the button
HIGH heading.empty [WCAG 1.3.1, 2.4.6] (line 15 h2): empty <h2>
fix: remove it or give it text; do not use headings for spacing
HIGH form.label_missing [WCAG 1.3.1, 4.1.2] (line 19 input): <input type=text> has no label (placeholder is not a label)
fix: add <label for='id'>, wrap it in <label>, or use aria-labelledby pointing at visible text
HIGH form.label_missing [WCAG 1.3.1, 4.1.2] (line 20 input#phone): <input type=text> has no label
fix: add <label for='id'>, wrap it in <label>, or use aria-labelledby pointing at visible text
HIGH form.label_missing [WCAG 1.3.1, 4.1.2] (line 22 select): <select> has no label
fix: add <label for='id'>, wrap it in <label>, or use aria-labelledby pointing at visible text
HIGH input_image.alt_missing [WCAG 1.1.1] (line 23 input): <input type="image"> has no alt
fix: add alt describing the action, e.g. alt='Search'
HIGH iframe.title_missing [WCAG 4.1.2] (line 28 iframe): <iframe src='https://video.example.com/embed/1'> has no title
fix: add title describing the content, e.g. title='Map of our office'
HIGH table.no_headers [WCAG 1.3.1] (line 29 table): data table (2 rows) has no <th> header cells
fix: mark header cells as <th scope="col"> / <th scope="row">, or role="presentation" for layout tables
HIGH media.autoplay_sound [WCAG 1.4.2] (line 33 video): <video autoplay> plays sound automatically
fix: remove autoplay, or add muted; provide a pause/stop and volume control
HIGH media.autoplay_sound [WCAG 1.4.2] (line 34 audio): <audio autoplay> plays sound automatically
fix: remove autoplay, or add muted; provide a pause/stop and volume control
HIGH element.moving_content [WCAG 2.2.2] (line 35 marquee): <marquee> moves or blinks with no way to stop it
fix: remove it; use static text
HIGH svg.name_missing [WCAG 1.1.1] (line 36 svg): <svg role="img"> has no accessible name
fix: add <title> as first child or aria-label; use aria-hidden="true" if decorative
MEDIUM heading.skipped_level [WCAG 1.3.1] (line 14 h4): heading level jumps from h1 to h4
fix: use h2 here (style it with CSS if it must look smaller)
MEDIUM img.alt_placeholder [WCAG 1.1.1] (line 16 img): alt='IMG_2041.jpg' looks like a file name or placeholder
fix: write what the image shows or does; use alt='' if decorative
MEDIUM img.alt_placeholder [WCAG 1.1.1] (line 17 img): alt='image' looks like a file name or placeholder
fix: write what the image shows or does; use alt='' if decorative
MEDIUM label.for_missing_target [WCAG 1.3.1] (line 21 label): <label for='nowhere'> points at no element
fix: make for= match the control's id
MEDIUM id.duplicate [WCAG 1.3.1, 4.1.2] (line 26 div#dup): id 'dup' is used 2 times
What you do next
- Fix the highest-severity items first.
- Ask your agent to apply the fixes it suggests, then run the skill again to confirm.
- Keep the skill installed and re-run it whenever the project changes.
Connects securely to your tools. The creator never sees your data.
About this skill
Catch mechanical WCAG 2.2 Level A/AA failures in your HTML before they reach production. Automated scripts often miss the obvious, but this tool provides a deterministic audit of raw source code and templates without the overhead of a headless browser. It identifies high-impact blockers like missing alt text, unlabelled form fields, and empty buttons that prevent users from navigating your site.
What it does
- Source auditing scans static HTML files, templates, or saved DOM output for 20 failures.
- Severity grading categorizes issues into High, Medium, and Low to prioritize fixes.
- CI/CD integration provides exit codes and JSON output to break builds on accessibility regressions.
- Remediation guidance generates specific code fixes for each finding, favoring native elements over ARIA.
- Manual triage produces a checklist for checks scripts cannot perform, such as contrast and keyboard traps.
How it works
- Target selection identifies the built HTML files or rendered DOM to be audited.
- Execution runs the Python script against files or directories with optional flags for severity or JSON output.
- Report analysis reviews findings including rule IDs, WCAG success criteria, and line numbers.
- Correction applies the provided markup fixes to templates or components to resolve multiple instances at once.
Frameworks & tools
The script is built for Python 3.8+ using the standard library. It works with raw HTML, static site generators like Jekyll or Hugo, and template engines including Blade, Jinja, Twig, or JSX output.
Why this beats prompting it yourself
Standard LLM prompts often hallucinate accessibility rules or suggest over-engineered ARIA solutions. This skill uses a deterministic script to find objective failures and uses the AI specifically for context-aware remediation and manual testing strategy.
Use cases
- Auditing a static site distribution folder before deployment.
- Verifying accessibility in server-rendered templates (Blade, Jinja).
- Creating an accessibility gate in a CI/CD pipeline using exit codes.
- Preparing technical data for an official accessibility statement.
Known limitations
Does not check color contrast, CSS-based issues, or JavaScript-driven ARIA state changes. Only audits static HTML source or provided DOM snapshots.
Open source: saizul/accessibility-a11y-skills on GitHub (MIT licence, by Saizul Amin).
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for UX & UI Design.
No support for color contrast or CSS. Cannot execute JavaScript; requires rendered HTML for SPAs. Does not check dynamic ARIA states or keyboard traps.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 2 days ago
- Software
Python 3.8+