Implement comprehensive accessibility features following WCAG guidelines to ensure your application is usable by everyone, including people with disabilities.
When to Use
Building public-facing web applications
Ensuring WCAG 2.1/2.2 AA or AAA compliance
Supporting screen readers (NVDA, JAWS, VoiceOver)
Implementing keyboard-only navigation
Meeting ADA, Section 508, or similar regulations
Improving SEO and overall user experience
Conducting accessibility audits
Quick Start
Minimal working example:
<!-- Bad: Non-semantic markup -->
<div class="button"
<!-- Good: Semantic HTML -->
<button type="submit" aria-label="Submit form">Submit</button>
<!-- Custom components with proper ARIA -->
<div
role="button"
tabindex="0"
aria-pressed="false"
>
Toggle Feature
</div>
<!-- Form with proper labels and error handling -->
<form>
<label for="email">Email Address</label>
<input
id="email"
type="email"
name="email"
aria-required="true"
// ... (see reference guides for full implementation)
Reference Guides
Detailed implementations in the references/ directory:
Guide
Contents
Semantic HTML with ARIA
Semantic HTML with ARIA
React Component with Accessibility
React Component with Accessibility
Keyboard Navigation Handler
Keyboard Navigation Handler
Color Contrast Validator
Color Contrast Validator
Screen Reader Announcements
Screen Reader Announcements
Focus Management
Focus Management
Best Practices
✅ DO
Use semantic HTML elements
Provide text alternatives for images
Ensure sufficient color contrast (4.5:1 minimum)
Support keyboard navigation
Implement focus management
Test with screen readers
Use ARIA attributes correctly
Provide skip links
Make forms accessible with labels
Support text resizing up to 200%
❌ DON'T
Rely solely on color to convey information
Remove focus indicators
Use only mouse/touch interactions
Auto-play media without controls
Create keyboard traps
Use positive tabindex values
Override user preferences
Hide content only visually that should be hidden from screen readers
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: aj-geddes-useful-ai-prompts-accessibility-compliance3description: Accessibility Compliance4---56# Accessibility Compliance78## Table of Contents910- [Overview](#overview)11- [When to Use](#when-to-use)12- [Quick Start](#quick-start)13- [Reference Guides](#reference-guides)14- [Best Practices](#best-practices)1516## Overview1718Implement comprehensive accessibility features following WCAG guidelines to ensure your application is usable by everyone, including people with disabilities.1920## When to Use2122- Building public-facing web applications23- Ensuring WCAG 2.1/2.2 AA or AAA compliance24- Supporting screen readers (NVDA, JAWS, VoiceOver)25- Implementing keyboard-only navigation26- Meeting ADA, Section 508, or similar regulations27- Improving SEO and overall user experience28- Conducting accessibility audits2930## Quick Start3132Minimal working example:3334```html35<!-- Bad: Non-semantic markup -->36<div class="button" onclick="submit()">Submit</div>3738<!-- Good: Semantic HTML -->39<button type="submit" aria-label="Submit form">Submit</button>4041<!-- Custom components with proper ARIA -->42<div43 role="button"44 tabindex="0"45 aria-pressed="false"46 onclick="toggle()"47 onkeydown="handleKeyPress(event)"48>49 Toggle Feature50</div>5152<!-- Form with proper labels and error handling -->53<form>54 <label for="email">Email Address</label>55 <input56 id="email"57 type="email"58 name="email"59 aria-required="true"60// ... (see reference guides for full implementation)61```6263## Reference Guides6465Detailed implementations in the `references/` directory:6667| Guide | Contents |68|---|---|69| [Semantic HTML with ARIA](references/semantic-html-with-aria.md) | Semantic HTML with ARIA |70| [React Component with Accessibility](references/react-component-with-accessibility.md) | React Component with Accessibility |71| [Keyboard Navigation Handler](references/keyboard-navigation-handler.md) | Keyboard Navigation Handler |72| [Color Contrast Validator](references/color-contrast-validator.md) | Color Contrast Validator |73| [Screen Reader Announcements](references/screen-reader-announcements.md) | Screen Reader Announcements |74| [Focus Management](references/focus-management.md) | Focus Management |7576## Best Practices7778### ✅ DO7980- Use semantic HTML elements81- Provide text alternatives for images82- Ensure sufficient color contrast (4.5:1 minimum)83- Support keyboard navigation84- Implement focus management85- Test with screen readers86- Use ARIA attributes correctly87- Provide skip links88- Make forms accessible with labels89- Support text resizing up to 200%9091### ❌ DON'T9293- Rely solely on color to convey information94- Remove focus indicators95- Use only mouse/touch interactions96- Auto-play media without controls97- Create keyboard traps98- Use positive tabindex values99- Override user preferences100- Hide content only visually that should be hidden from screen readers101102---103> Converted and distributed by [TomeVault](https://tomevault.io/claim/aj-geddes) — claim your Tome and manage your conversions.104<!-- tomevault:4.0:skill_md:2026-04-11 -->
Run npx skillmds@latest add tomevault-io/aj-geddes-useful-ai-prompts-accessibility-compliance in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Accessibility Compliance It is listed under Web & Frontend on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
tomevault-io (@tomevault-io) published this skill. Their other Agent Skills are listed on their SkillMD profile.