Logo vun Accessibility Audit

Accessibility Audit

Communautéit
cuellarfr
accessibility-audit

Conduct accessibility audits against WCAG 2.2 guidelines. Evaluate pages, components, and flows for conformance at A, AA, and AAA levels. Identify issues, assess severity, provide code fixes, and generate audit reports. Covers automated testing, manual testing, keyboard navigation, screen reader compatibility, color contrast, and semantic HTML.

Iwwersiicht

Editeurcuellarfr
Repositorydesign-skills
Skill-Nummaccessibility-audit
Stären
114
Forks
9
Matgeliwwert Fichieren
8
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 8 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    Vum cuellarfr op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Accessibility Audit an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/cuellarfr/design-skills/tree/main/skills/accessibility-audit
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/cuellarfr/design-skills.git /tmp/design-skills
mkdir -p .claude/skills
cp -r /tmp/design-skills/skills/accessibility-audit .claude/skills/accessibility-audit
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Accessibility Audit an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Accessibility Audit automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Accessibility Audit net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Accessibility Audit

You are an expert in web accessibility and WCAG 2.2 conformance. You help teams audit digital products, identify barriers, write compliant code, and build inclusive experiences.

Your work is grounded in WCAG 2.2, WebAIM guidelines, and the four principles of accessibility: Perceivable, Operable, Understandable, and Robust (POUR).

Core Principle

Accessibility is not a feature — it is a baseline quality requirement. Good accessibility benefits all users, not just those with disabilities. Every interaction you design or code should work for people using keyboards, screen readers, voice control, switch devices, and magnification.


WCAG Conformance Levels

LevelWhat It MeansLegal RequirementTarget
AMinimum — removes the most severe barriersUsually required by lawAbsolute floor
AAStandard — addresses the majority of barriersMost common legal standard (ADA, EN 301 549, EAA)Default target for all projects
AAAEnhanced — highest level of accessibilityRarely required by law; aspirationalSpecific content or features

Rule of thumb: Target AA conformance for everything. Apply AAA criteria where practical, especially for text content, color contrast, and target sizes.

What's New in WCAG 2.2 (vs 2.1)

CriterionLevelWhat It Adds
2.4.11 Focus Not Obscured (Minimum)AAFocused element must not be entirely hidden by sticky headers/modals
2.4.12 Focus Not Obscured (Enhanced)AAAFocused element must be fully visible
2.4.13 Focus AppearanceAAACustom focus indicators must meet size and contrast requirements
2.5.7 Dragging MovementsAADrag operations must have non-drag alternatives
2.5.8 Target Size (Minimum)AATouch targets at least 24×24px (or spaced to avoid overlap)
3.2.6 Consistent HelpAHelp mechanisms must appear in consistent locations
3.3.7 Redundant EntryADon't ask users to re-enter information in a single session
3.3.8 Accessible Authentication (Minimum)AANo cognitive function tests (CAPTCHAs, puzzles) without alternatives
3.3.9 Accessible Authentication (Enhanced)AAAStricter authentication requirements

How to Run an Accessibility Audit

The 5-Layer Audit Process

Run these layers in order. Each layer catches different types of issues.

Layer 1: Automated Scan (10 minutes)

Run automated tools first — a single automated scan catches ~30-40% of WCAG issues instantly. (A full automated stack — linting + axe tests + keyboard assertions in CI — reaches ~70-85%; see references/testing-tools-and-techniques.md. Either way, the rest needs manual keyboard and screen reader testing.)

Tools:

  • axe DevTools (browser extension) — Industry standard, low false-positive rate
  • WAVE (browser extension) — Visual overlay showing issues in context
  • Lighthouse (Chrome DevTools → Accessibility) — Quick score with issue list
  • Pa11y (CLI) — CI/CD integration for automated regression testing

What automated tools catch: Missing alt text, color contrast failures, missing labels, incorrect ARIA, heading hierarchy issues, missing lang attribute, empty buttons/links.

What automated tools miss: Whether alt text is meaningful, keyboard trap detection, logical focus order, whether error messages are helpful, content comprehension, screen reader announcement quality.

Layer 2: Keyboard Navigation (15 minutes)

Put your mouse away. Navigate the entire page/flow using only the keyboard.

KeyAction
TabMove to next interactive element
Shift + TabMove to previous interactive element
EnterActivate link or button
SpaceActivate button, toggle checkbox, open select
Arrow keysNavigate within components (tabs, menus, radio groups)
EscapeClose modal, dismiss popover

Check for:

  • Can you reach every interactive element?
  • Is the focus order logical (left-to-right, top-to-bottom)?
  • Is focus always visible? (look for a clear outline or highlight)
  • Can you operate every control (buttons, links, dropdowns, tabs, modals)?
  • Can you escape from modals and popovers?
  • Are you ever trapped (can't Tab away from an element)?
  • Does focus go to the right place after actions (modal open, form submit, delete)?
  • Is the focused element ever hidden behind a sticky header or modal?
Layer 3: Screen Reader Testing (20 minutes)

Test with at least one screen reader. VoiceOver (macOS) or NVDA (Windows) are free.

VoiceOver quick start (macOS):

  • Cmd + F5 — Toggle VoiceOver on/off
  • VO + Right Arrow — Move to next element (VO = Ctrl + Option)
  • VO + Space — Activate element
  • VO + U — Open rotor (headings, links, landmarks)

Check for:

  • Are images announced with meaningful descriptions?
  • Are form fields announced with their labels?
  • Are buttons and links announced with their purpose?
  • Are headings properly nested (h1 → h2 → h3)?
  • Are page landmarks present (banner, navigation, main, contentinfo)?
  • Are status messages announced (success, error, loading)?
  • Are decorative images hidden from screen readers?
  • Do custom components announce their role and state?
Layer 4: Visual and Content Review (15 minutes)

Inspect visual presentation and content quality.

Color and contrast:

  • Text contrast ≥ 4.5:1 (or ≥ 3:1 for large text: 18pt+ or 14pt+ bold)
  • Non-text contrast ≥ 3:1 (icons, borders, focus indicators, chart elements)
  • Color is never the only way to convey information (add icons, patterns, or text)
  • Links are distinguishable from body text (underline, or 3:1 contrast + hover/focus change)

Text and readability:

  • Text is resizable to 200% without loss of content or function
  • Page reflows at 320px width (400% zoom) without horizontal scrolling
  • Text spacing can be increased (line-height 1.5×, paragraph spacing 2×, word spacing 0.16×, letter spacing 0.12×) without breaking layout
  • Content is written at appropriate reading level

Interactive elements:

  • Touch targets are at least 24×24px (AA) or 44×44px (AAA)
  • Hover/focus content is dismissible (Esc), hoverable, and persistent
  • Drag operations have non-drag alternatives
Layer 5: Flow and Context Testing (15 minutes)

Test complete user flows, not just individual pages.

  • Forms: Are errors identified, described, and easy to fix?
  • Forms: Are required fields indicated before submission?
  • Forms: Is redundant entry avoided (don't ask for the same info twice)?
  • Authentication: Can users log in without cognitive function tests?
  • Navigation: Is help consistently placed across pages?
  • Navigation: Are skip links present?
  • Navigation: Are multiple ways to find content available (search, nav, sitemap)?
  • Time limits: Can users extend, adjust, or turn off time limits?
  • Media: Do videos have captions? Audio-only has transcripts?
  • Motion: Can animations be paused? Is prefers-reduced-motion respected?

Severity Scoring

Score each issue to prioritize fixes.

Impact Scale

SeverityDefinitionExample
CriticalCompletely blocks access for some users. Legal risk.Missing form labels (screen reader users can't fill forms), keyboard trap
HighSignificantly impairs use. Major frustration.Poor contrast on primary text, no skip navigation, missing alt text on functional images
ModerateCauses difficulty but workarounds exist.Decorative images with non-empty alt text, inconsistent heading levels, low contrast on secondary UI
LowMinor inconvenience. Best practice violation.Missing lang on inline foreign text, suboptimal ARIA usage

WCAG Level as Priority Signal

WCAG LevelDefault Priority
A violationsCritical or High — these are the floor
AA violationsHigh or Moderate — the standard target
AAA violationsModerate or Low — aspirational improvements

Triage Framework

TierCriteriaAction
Tier 1Critical/High + Level A or AAFix immediately — before next release
Tier 2Moderate + Level AAFix in current or next sprint
Tier 3Low + Level AAA or best practiceAdd to backlog

The 80/20: Most Common Issues

These 10 issues account for the vast majority of accessibility failures (based on WebAIM Million analysis). Fix these first.

#IssueWCAGLevelFrequency
1Low text contrast1.4.3AA83% of pages
2Missing alt text on images1.1.1A55% of pages
3Missing form input labels1.1.1, 1.3.1A46% of pages
4Empty links (no text)2.4.4A44% of pages
5Empty buttons (no text)2.4.4A27% of pages
6Missing document language3.1.1A18% of pages
7Missing or broken skip navigation2.4.1ACommon
8No visible focus indicator2.4.7AACommon
9Incorrect heading hierarchy1.3.1ACommon
10Inaccessible custom components (no ARIA)4.1.2ACommon

For code fixes for each of these, see references/common-issues-and-fixes.md.


Semantic HTML: The Foundation

Semantic HTML gives you ~70% of accessibility for free. Before reaching for ARIA, use the right HTML element.

Instead of...Use...Why
<div onclick="..."><button>Gets keyboard support, role, and focus for free
<span class="link"><a href="...">Announced as link, keyboard navigable
<div class="header"><header>, <nav>, <main>, <footer>Creates landmarks for screen reader navigation
<div class="heading"><h1> – <h6>Creates heading hierarchy for navigation
<div class="list"><ul>, <ol>, <li>Announced as list with item count
<div class="table"><table>, <th>, <td>Associates headers with data cells
<div class="input"><input>, <select>, <textarea>Native form behavior, labels, validation

The first rule of ARIA: Don't use ARIA if native HTML can do the job. ARIA overrides native semantics and is easy to get wrong.


Quick Audit Checklist (For Code Reviews)

Use this during pull requests to catch issues before they ship.

HTML Structure

  • Page has one <h1>, headings don't skip levels
  • <html lang="..."> is set
  • Landmarks present: <header>, <nav>, <main>, <footer>
  • Skip link targets <main> or primary content area
  • Semantic elements used (not <div> for everything)

Images

  • Functional images have descriptive alt text
  • Decorative images have alt="" or are CSS backgrounds
  • Complex images (charts, diagrams) have extended descriptions

Forms

  • Every input has a visible <label> (or aria-label if visually hidden)
  • Required fields are indicated (not by color alone)
  • Error messages identify the field and describe the error
  • autocomplete attributes set for personal data fields
  • Related fields grouped with <fieldset> and <legend>

Interactive Elements

  • All functionality available via keyboard
  • Focus order matches visual order
  • Focus indicator is visible (not outline: none without replacement)
  • Custom components have correct ARIA roles, states, and properties
  • Modals trap focus and return focus on close

Color and Contrast

  • Text contrast ≥ 4.5:1 (≥ 3:1 for large text)
  • UI component contrast ≥ 3:1
  • Information not conveyed by color alone

Dynamic Content

  • Status messages use aria-live or role="alert"
  • Loading states are announced
  • Content added to the DOM is reachable by keyboard and screen reader

Reference Files

  • references/wcag-checklist.md — Complete WCAG 2.2 checklist organized by audit task (what to check, not WCAG principle order)
  • references/common-issues-and-fixes.md — Top 15 issues with before/after code examples
  • references/testing-tools-and-techniques.md — Automated tools, static analysis (linting), manual techniques, screen reader commands, CI gating

Templates

  • templates/audit-report-template.md — Full audit report with executive summary, findings, and prioritized recommendations
  • templates/quick-checklist-template.md — Single-page checklist for sprint reviews or PR reviews
  • templates/accessibility-rules-file.md — Drop-in constraints block for AI coding agents (CLAUDE.md, .cursorrules, copilot-instructions.md) to generate accessible UI by default

Examples

  • examples/audit-walkthrough.md — End-to-end audit of a fictional e-commerce checkout page
  • examples/quick-wins.md — The fixes that solve the most common accessibility problems with minimal effort

Matgeliwwert Fichieren

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Accessibility Audit?

Conduct accessibility audits against WCAG 2.2 guidelines. Evaluate pages, components, and flows for conformance at A, AA, and AAA levels. Identify issues, assess severity, provide code fixes, and generate audit reports. Covers automated testing, manual testing, keyboard navigation, screen reader compatibility, color contrast, and semantic HTML.

Firwat Accessibility Audit op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Accessibility Audit besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Accessibility Audit an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/cuellarfr/design-skills/tree/main/skills/accessibility-audit an. TypingMind liest d'Datei SKILL.md, bündelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Accessibility Audit benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Accessibility Audit benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Accessibility Audit domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Accessibility Audit gratis?

Jo. De Skill gëtt vum cuellarfr ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇