Cluster 16 · DevSecOps & CI/CD · GitHub Actions + axe

Automated CI/CD Accessibility Gate (GitHub Actions, Playwright + axe-core & SARIF)

Block WCAG 2.2 AA regressions before merge with automated Playwright + @axe-core/playwright tests, strict eslint-plugin-jsx-a11y, and scheduled live audits.

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

1. Paste Page or Component HTML to Audit

12 WCAG 2.2 AA Checks
Informational Notice: Deterministic DOM/HTML accessibility & EAA Directive 2019/882 engineering linter — pair automated checks with live keyboard Tab & screen-reader testing. Not legal advice.
WCAG 2.2 AA & EAA Static Readiness Score
100 / 100 (A+)
PASS

12/12 checks passing · Low Risk — Ready for Live Screen-Reader & Keyboard QA

WCAG-3.1.1 (SC 3.1.1 (Level A)): Valid document language declared (lang="en") PASS
Primary page language is explicitly declared for screen readers and braille translators.
WCAG-2.4.2 (SC 2.4.2 (Level A)): Descriptive <title> present ("Acme Cloud — Enterprise Control Plane") PASS
Document title announces page context immediately in browser tabs and screen readers.
WCAG-1.4.4 (SC 1.4.4 (Level AA)): Viewport zoom unrestricted (200%+ text scaling supported) PASS
No user-scalable=no or maximum-scale=1 lock detected.
WCAG-1.1.1 (SC 1.1.1 (Level A)): All 1 <img> element(s) carry alt text PASS
Images include explicit alternative text attributes.
WCAG-4.1.2 (SC 4.1.2 (Level A)): All <button> and <a> elements expose accessible names PASS
No unlabelled icon-only controls detected.
WCAG-1.3.1-FORM (SC 1.3.1 / 3.3.2 (Level A)): All form inputs have programmatic <label> or ARIA labels PASS
Zero unlabelled inputs detected.
WCAG-2.4.1 (SC 2.4.1 (Level A)): Skip navigation link and <main> landmark present PASS
Keyboard users can bypass repeated header navigation blocks directly.
WCAG-1.3.1-HEADING (SC 1.3.1 / 2.4.6 (Level AA)): Sequential heading hierarchy verified (h1 → h2) PASS
Screen-reader heading navigation outline is well-ordered.
WCAG-2.1.1 (SC 2.1.1 (Level A)): Zero non-semantic clickable <div>/<span> handlers detected PASS
Interactive actions use keyboard-reachable elements.
WCAG-2.4.4 (SC 2.4.4 (Level A)): Descriptive anchor link labels verified PASS
No ambiguous "click here" or "read more" links without context.
WCAG-1.2.2 (SC 1.2.2 (Level A)): No uncaptioned <video> elements detected PASS
Media captioning baseline clean.
WCAG-2.4.11 (SC 2.4.3 / 2.4.11 (Level AA)): Focus order & visible focus outline checks clean PASS
No positive tabindex overrides or bare outline: none suppression found.
Accessible HTML5 Shell (wcag-2-2-aa-patch.html)
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1" />
  <title>Acme Cloud — Enterprise Control Plane</title>
  <link rel="stylesheet" href="/wcag-2-2-focus-targets.css" />
</head>
<body>
  <a href="#main-content" class="skip-link">Skip to main content</a>
  <header>
    <nav aria-label="Primary navigation">
      <a href="/"><img src="/logo.svg" alt="Brand home" /></a>
      <button type="button" aria-label="Open navigation menu"><svg aria-hidden="true"></svg></button>
    </nav>
  </header>
  <main id="main-content">
    <h1>Primary Page Heading</h1>
    <section aria-labelledby="section-form">
      <h2 id="section-form">Accessible Form Control</h2>
      <form action="/signup" method="post">
        <label for="work-email">Work email</label>
        <input id="work-email" name="email" type="email" autocomplete="email" required />
        <button type="submit">Continue to Workspace</button>
      </form>
    </section>
  </main>
</body>
</html>
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
Test Engine @axe-core/playwright (wcag22aa) Checks wcag2a, wcag2aa, wcag21aa, and wcag22aa tags across rendered DOM & computed contrast
Static Pre-Commit eslint-plugin-jsx-a11y / HTML Linter Catches missing alt, unlabelled inputs & div-buttons at IDE/PR time in <2 seconds
Target Size Gate Custom DOM boundingBox >= 24x24px check Verifies interactive buttons/links pass SC 2.5.8 across desktop & 375px mobile viewports
Live Production access.runglab.dev Scheduled Drift Check Monitors CMS edits, marketing tags & third-party cookie banners in production

Playwright + @axe-core/playwright WCAG 2.2 AA Test

a11y.spec.ts
import { test, expect } from "@playwright/test";
import AxeBuilder from "@axe-core/playwright";

for (const route of ["/", "/pricing", "/accessibility"]) {
  test(`WCAG 2.2 AA baseline clean on ${route}`, async ({ page }) => {
    await page.goto(route);
    const results = await new AxeBuilder({ page })
      .withTags(["wcag2a", "wcag2aa", "wcag21aa", "wcag22aa"])
      .analyze();
    expect(results.violations).toEqual([]);
  });
}

GitHub Actions Workflow (.github/workflows/a11y-gate.yml)

a11y-gate.yml
name: WCAG 2.2 AA Gate
on: [pull_request]
jobs:
  a11y:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-node@v4
        with: { node-version: "20" }
      - run: npm ci
      - run: npx playwright install --with-deps chromium
      - run: npm run build && npx playwright test tests/a11y.spec.ts

Implementation Steps & Key Insights

  1. Enable eslint-plugin-jsx-a11y/strict in CI to catch missing labels and semantic defects before bundling.
  2. Add @axe-core/playwright with tags wcag2a, wcag2aa, wcag21aa, and wcag22aa across key public and authenticated routes.
  3. Test both desktop (1280px) and mobile (375px) viewports plus open modal/drawer states.
  4. Pair automated CI assertions with quarterly manual keyboard + screen-reader verification.
  • Automated tools catch roughly 30–57% of WCAG defects deterministically (contrast, labels, alt, ARIA validity, landmarks) with zero human flakiness.
  • Testing open states (cookie banners, modals, dropdowns) catches focus and contrast issues missed on static initial page load.

Common WCAG & EAA Audit Pitfalls

  • Running axe-core only on / without testing checkout, pricing toggles, or form error states.
  • Disabling color-contrast rules globally instead of fixing low-contrast muted helper text.
  • Assuming 0 axe violations equals 100% WCAG compliance without testing keyboard focus order.
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 @axe-core/playwright detect 100% of WCAG 2.2 AA issues?

No automated engine can verify alt-text meaning or logical keyboard reading order alone. Combine automated CI checks with manual keyboard Tab testing and screen-reader spot checks.

Why run accessibility tests on open modal and form error states?

Error alerts, modals, and mobile menus often introduce contrast failures, unlabelled close buttons, or focus traps only when triggered.

How can I audit live production pages alongside CI tests?

Use AccessCheck (access.runglab.dev) or embed our HTML linter locally before deploying theme or CMS changes.