Cluster 16 · WCAG 2.2 New Criteria · SC 2.4.11 & 2.5.8

WCAG 2.2 Focus Appearance, Focus Not Obscured (SC 2.4.11) & 24x24px Target Size (SC 2.5.8) CSS

Implement WCAG 2.2's flagship Level AA additions with copy-paste modern CSS: :focus-visible high-contrast rings, sticky-header scroll-margin-top, and 24x24px minimum target sizing.

100% Browser-Side · Zero User-Data Upload · Strict CSP

3. Contrast Ratio (SC 1.4.3) & Target Size (SC 2.5.8)

sRGB Luminance Engine
WCAG 2.2 AA Contrast & Target CSS Tokens (wcag-2-2-tokens.css)
/* WCAG 2.2 AA Color Contrast, Focus & Target Size Tokens */
:root {
  --a11y-fg: #475569;
  --a11y-bg: #ffffff;
  --a11y-target-min: 24px;
  --a11y-focus-width: 3px;
}

.a11y-surface {
  color: var(--a11y-fg);
  background-color: var(--a11y-bg);
}

.a11y-interactive {
  min-width: var(--a11y-target-min);
  min-height: var(--a11y-target-min);
}

.a11y-interactive:focus-visible {
  outline: var(--a11y-focus-width) solid var(--a11y-fg);
  outline-offset: 2px;
}
Relative Luminance Contrast Ratio
7.58 : 1
PASS
SC 1.4.3 Normal Text (AA) PASS (>= 4.5:1)
SC 1.4.11 UI & Large Text PASS (>= 3.0:1)
SC 1.4.6 Enhanced (AAA) PASS (>= 7.0:1)
SC 2.5.8 Target Size Min PASS (24px >= 24px)
SC 2.4.13 Focus Appearance PASS (3px & >= 3:1)
AccessCheck · WCAG 2.2 AA $39 AA Fix Pack

Verify Live WCAG 2.2 AA, Contrast, Landmarks & EU EAA Readiness

Run a full live URL accessibility & EAA readiness audit on AccessCheck (access.runglab.dev), or grab the turnkey $39 AccessCheck AA Fix Pack on Creem (tailored DOM/ARIA patches, focus & target-size CSS, EAA Annex V Accessibility Statement, VPAT 2.5 summary & CI Playwright/axe gate). Need a PayPal invoice? Email [email protected].

WCAG 2.2 AA & EU EAA Technical Control Specification

Control / Criterion Compliant Baseline Engineering & Accessibility Rationale
SC 2.4.11 (AA) Focus Not Obscured (Minimum) Focused element must not be completely hidden behind sticky headers, footers, or cookie banners
SC 2.4.13 (AAA) / Best >= 2px Perimeter + >= 3:1 Contrast Enforce crisp 2px–3px :focus-visible outline with outline-offset: 2px
SC 2.5.8 (AA) Target Size (Minimum) >= 24×24 CSS px Applies to pointer targets (icon buttons, close 'X', pagination, swatches) unless spaced >= 24px
SC 2.5.7 (AA) Dragging Movements Alternative Provide click/tap buttons alongside any drag-and-drop slider, kanban board, or map pan

Production WCAG 2.2 Level AA CSS Baseline (wcag-2-2.css)

wcag-2-2-focus-targets.css
/* 1. SC 2.4.11 Focus Not Obscured: clear sticky header/cookie bars */
html {
  scroll-padding-top: 96px;
  scroll-padding-bottom: 96px;
}
:where([id], a, button, input, select, textarea) {
  scroll-margin-top: 96px;
  scroll-margin-bottom: 96px;
}

/* 2. Crisp >= 2px :focus-visible indicator */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 2px;
}

/* 3. SC 2.5.8 Minimum 24x24 CSS px interactive targets */
:where(button, [role="button"], input[type="checkbox"], input[type="radio"], .icon-link) {
  min-width: 24px;
  min-height: 24px;
}

SC 2.5.8 Expanded Hit Area Without Altering Icon Visual Size

target-size-pseudo.css
.icon-btn-compact {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 24px;
}
/* Optional 44x44px comfortable touch hit area via pseudo-element */
.icon-btn-compact::after {
  content: "";
  position: absolute;
  inset: -10px;
}

Implementation Steps & Key Insights

  1. Replace global *:focus { outline: none } rules with :focus-visible styling that maintains >= 3:1 contrast against adjacent backgrounds.
  2. Set scroll-padding-top and scroll-margin-top on interactive elements to exceed your fixed navbar height.
  3. Audit compact UI icons (close buttons, table pagination, social links, filter chips) to ensure >= 24x24 CSS px bounding boxes.
  4. Verify contrast ratios locally using Tab 3 of the WCAG 2.2 workbench above.
  • WCAG 2.2 promoted Focus Not Obscured (SC 2.4.11) and Target Size Minimum (SC 2.5.8) directly to Level AA—meaning both are part of modern EAA & enterprise VPAT evaluations.
  • Cookie consent banners anchored at the bottom viewport frequently violate SC 2.4.11 by covering focused footer links during keyboard Tab navigation.

Common WCAG & EAA Audit Pitfalls

  • Using outline: none on inputs and buttons without replacing it with a visible border/outline on :focus-visible.
  • Shrinking mobile pagination dots or table action icons to 14x14px with < 24px spacing.
  • Forgetting scroll-padding-bottom when fixed cookie bars or chat launchers sit at bottom-right.
Verify Live: Audit your live domain on access.runglab.dev or grab the $39 AccessCheck AA Fix Pack. Informational engineering guidance only — not legal advice.

More WCAG 2.2 AA, EU EAA & VPAT Implementation Guides

← Back to WCAG 2.2 AA & EU EAA Hub · AccessCheck Live Audit → · $39 AA Fix Pack → · Cluster 15: GDPR & Consent Mode v2 → · Cluster 12: EU AI Act Art. 50 →

Frequently Asked Questions

Does WCAG 2.2 SC 2.5.8 require 44x44px or 24x24px targets?

Level AA SC 2.5.8 requires a minimum 24x24 CSS px target size (or 24px spacing circle clearance), while Level AAA SC 2.5.5 recommends 44x44 CSS px.

Do inline text links inside paragraphs have to be 24px tall?

No. Inline links constrained within sentences or blocks of text are explicitly exempted from SC 2.5.8 Target Size (Minimum).

How does scroll-padding-top help WCAG 2.4.11?

When a user tabs into an off-screen element or jumps via skip link, browsers auto-scroll using scroll-padding-top so sticky headers don't cover the focused element.