Skip to main content
Accessibility (EAA)

WCAG 2.2 AA Quick Wins: Fixing the 8 Most Common Frontend Audit Failures

Fix unlabeled icon buttons, skipped heading levels, focus visibility, inline contrast failures, and viewport zoom locks in under 30 minutes.

5 min readUpdated 2026-11-15

Eliminate invisible controls and ambiguous headings

Frontend frameworks make it easy to ship icon-only <button><TrashIcon /></button> controls or style a <div> as a heading. Screen readers announce those buttons simply as "button" with zero context.

Always provide an explicit aria-label (or visually hidden <span class="sr-only">Delete monitor</span>), maintain a single <h1> per view, and step sequentially through <h2> and <h3>.

html
<!-- Accessible icon button + proper form label -->
<button type="button" aria-label="Remove domain monitor">
  <svg aria-hidden="true" class="h-4 w-4">...</svg>
</button>

<label for="audit-domain" class="block text-sm font-medium">Website URL</label>
<input id="audit-domain" type="url" placeholder="https://acme.com" required />

Target sizes, focus indicators, and WCAG contrast

WCAG 2.2 AA introduces SC 2.5.8 (Target Size Minimum: at least 24x24 CSS pixels for interactive targets) and SC 2.4.11 (Focus Not Obscured). Never remove :focus-visible outlines with outline: none unless you replace them with a clear high-contrast ring.

Check muted gray badges and placeholder-styled text against white or slate surfaces—ensure foreground-to-background contrast stays at >= 4.5:1.

Check if your domain already passes these requirements

Run a 15-second live compliance scan across Privacy, EAA 2025, Email Auth, and Security Headers—or generate exact configs using our 6 free tools.