---
name: accessibility-excellence
description: Master web accessibility (A11y) to ensure your product is usable by everyone, including people with disabilities. Covers WCAG standards, semantic HTML, keyboard navigation, screen readers, color contrast, and inclusive design practices. Accessibility is not a feature—it's a fundamental requirement.
---
# Accessibility Excellence
## Overview
Accessibility is the practice of making your product usable by everyone, including people with disabilities. It's not a feature to be added later—it's a fundamental requirement that should be built into every decision you make.
This skill teaches you to think about accessibility systematically: understanding WCAG standards, implementing semantic HTML, ensuring keyboard navigation, supporting screen readers, and designing inclusively.
## Core Philosophy: Accessibility is Inclusion
Accessibility benefits everyone, not just people with disabilities:
- **Captions** help people in noisy environments, not just deaf people
- **Keyboard navigation** helps people with motor disabilities, but also power users
- **Clear language** helps people with cognitive disabilities, but also non-native speakers
- **High contrast** helps people with low vision, but also people in bright sunlight
- **Transcripts** help deaf people, but also people who prefer reading
When you design for accessibility, you design for everyone.
## WCAG Standards
The Web Content Accessibility Guidelines (WCAG) define accessibility standards. There are three levels:
**WCAG 2.1 Levels:**
- **Level A** — Basic accessibility
- **Level AA** — Enhanced accessibility (recommended minimum)
- **Level AAA** — Advanced accessibility (ideal, but not always practical)
### The Four Principles (POUR)
**1. Perceivable**
Information must be perceivable to users. It can't be invisible to all senses.
**Guideline 1.1: Text Alternatives**
Provide text alternatives for all non-text content (images, videos, etc.).
```html
```
**Guideline 1.4: Distinguishable**
Make it easy to see and hear content. Ensure sufficient contrast, readable text, and clear audio.
```css
/* Good - 4.5:1 contrast ratio (WCAG AA) */
color: #030712; /* dark text */
background-color: #F9FAFB; /* light background */
/* Bad - 2.5:1 contrast ratio (fails WCAG AA) */
color: #9CA3AF; /* medium gray text */
background-color: #F9FAFB; /* light background */
```
**2. Operable**
Users must be able to navigate and interact with your product. All functionality must be available from the keyboard.
**Guideline 2.1: Keyboard Accessible**
All functionality must be available from the keyboard.
```html
Save your document before closing.
Persist your artifact prior to terminating the session.
The W3C sets web standards.
``` **Guideline 3.3: Predictable** Make your product predictable. Users should know what will happen when they interact with it. ```html Please enter a valid email address. ``` **4. Robust** Your product must be robust enough to be interpreted by a wide variety of assistive technologies. **Guideline 4.1: Compatible** Maximize compatibility with assistive technologies. Use semantic HTML and ARIA appropriately. ```html