Accessibility Checklist
Quick reference for WCAG 2.2 AA conformance. Use frontend-ui-engineering while building interfaces and accessibility-engineering when auditing and remediating them.
Table of Contents
Essential Checks
Keyboard Navigation
Screen Readers
Visual
Forms
Content
Common HTML Patterns
Buttons vs. Links
<!-- Use <button> for actions -->
<button onClick={handleDelete}>Delete Task</button>
<!-- Use <a> for navigation -->
<a href="/tasks/123">View Task</a>
<!-- NEVER use div/span as buttons -->
<div onClick={handleDelete}>Delete</div> <!-- BAD -->
Form Labels
<!-- Explicit label association -->
<label for="email">Email address</label>
<input id="email" type="email" required />
<!-- Implicit wrapping -->
<label>
Email address
<input type="email" required />
</label>
<!-- Hidden label (visible label preferred) -->
<input type="search" aria-label="Search tasks" />
ARIA Roles
<!-- Navigation -->
<nav aria-label="Main navigation">...</nav>
<nav aria-label="Footer links">...</nav>
<!-- Status messages -->
<div role="status" aria-live="polite">Task saved</div>
<!-- Alert messages -->
<div role="alert">Error: Title is required</div>
<!-- Modal dialogs -->
<dialog aria-modal="true" aria-labelledby="dialog-title">
<h2 id="dialog-title">Confirm Delete</h2>
...
</dialog>
<!-- Loading states -->
<div role="status" aria-busy="true" aria-label="Loading tasks">
<Spinner />
</div>
Accessible Lists
<ul role="list" aria-label="Tasks">
<li>
<input type="checkbox" id="task-1" aria-label="Complete: Buy groceries" />
<label for="task-1">Buy groceries</label>
</li>
</ul>
Testing Tools
# Automated audit (versions pinned for repeatable browser-driver behavior)
npx --yes @axe-core/cli@4.13.0 http://localhost:3000 --exit
npx --yes pa11y@9.1.1 http://localhost:3000
# In browser
# Chrome DevTools → Lighthouse → Accessibility
# Chrome DevTools → Elements → Accessibility tree
# Screen reader testing
# macOS: VoiceOver (Cmd + F5)
# Windows: NVDA (free) or JAWS
# Linux: Orca
Quick Reference: ARIA Live Regions
| Value | Behavior | Use For |
|---|
aria-live="polite" | Announced at next pause | Status updates, saved confirmations |
aria-live="assertive" | Announced immediately | Errors, time-sensitive alerts |
role="status" | Same as polite | Status messages |
role="alert" | Same as assertive | Error messages |
Common Anti-Patterns
| Anti-Pattern | Problem | Fix |
|---|
div as button | Not focusable, no keyboard support | Use <button> |
Missing alt text | Images invisible to screen readers | Add descriptive alt |
| Color-only states | Invisible to color-blind users | Add icons, text, or patterns |
| Autoplaying media | Disorienting, can't be stopped | Add controls, don't autoplay |
| Custom dropdown with no ARIA | Unusable by keyboard/screen reader | Use native <select> or proper ARIA listbox |
| Removing focus outlines | Users can't see where they are | Style outlines, don't remove them |
| Empty links/buttons | "Link" announced with no description | Add text or aria-label |
tabindex > 0 | Breaks natural tab order | Use tabindex="0" or -1 only |