Cluster 16 · Semantic HTML · SC 1.3.1 & 2.4.1

Skip Links, HTML5 ARIA Landmarks & Heading Hierarchy (h1–h6) Specification

Structure pages with clean HTML5 landmarks (<header>, <nav>, <main>, <footer>), accessible skip links, and strict sequential heading outlines for screen readers.

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
84 / 100 (B+)
WARN

9/12 checks passing · Moderate Risk — Remediate Warnings Before EAA/VPAT Audit

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 ("Product Tour — Acme AI") 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)): No <h1> heading found in document -8 PTS
Start pages with a single <h1> and advance sequentially (h1 → h2 → h3) without skipping levels for styling.
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)): 1 <video> element(s) missing <track kind="captions"> -4 PTS
Add WebVTT captions (<track kind="captions" src="/captions.vtt" srclang="en" label="English" default />) for deaf/hard-of-hearing users.
WCAG-2.4.11 (SC 2.4.3 / 2.4.11 (Level AA)): Positive tabindex (>0) disrupts natural DOM focus order -4 PTS
Use natural DOM order with tabindex="0" / -1 and replace outline: none with high-contrast :focus-visible outlines (>= 2px).
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>Product Tour — Acme AI</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
Skip Link First focusable <a> inside <body> Links to #main-content and stays visible on keyboard :focus (SC 2.4.1)
Primary Landmarks <header>, <nav>, <main>, <footer> Avoid duplicate unlabeled <nav> regions; differentiate with aria-label
Heading Outline Single <h1> -> sequential <h2> -> <h3> 50%+ of screen-reader users navigate primarily by headings
Main Target <main id="main-content" tabIndex="-1"> Ensures focus transfers cleanly into main content across Safari/Chrome/Firefox

Canonical Semantic Page Shell (landmarks-shell.html)

landmarks-shell.html
<body>
  <a href="#main-content" class="skip-link">Skip to main content</a>
  <header>
    <nav aria-label="Primary">...</nav>
  </header>
  <main id="main-content" tabindex="-1">
    <h1>Page Title</h1>
    <section aria-labelledby="features-h2">
      <h2 id="features-h2">Core Features</h2>
      <h3>Zero-Upload Architecture</h3>
    </section>
  </main>
  <footer>
    <nav aria-label="Footer">...</nav>
  </footer>
</body>

Accessible Skip-Link CSS (.skip-link)

skip-link.css
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}
.skip-link:focus-visible {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 9999;
  padding: 12px 16px;
  background: #0b0e14;
  color: #f8fafc;
  outline: 3px solid #10b981;
}

Implementation Steps & Key Insights

  1. Place <a href="#main-content" class="skip-link">Skip to main content</a> as the very first element inside <body>.
  2. Wrap core content in exactly one visible <main id="main-content"> landmark.
  3. Label multiple <nav> landmarks cleanly using aria-label="Primary" and aria-label="Footer".
  4. Verify heading tags step sequentially (h1 → h2 → h3) without skipping levels for visual sizing.
  • Using semantic <main>, <nav>, and <header> eliminates verbose ARIA role="main" / role="navigation" boilerplate.
  • Screen-reader rotor menus list every <nav> region; distinct aria-label attributes prevent two anonymous 'navigation' items.

Common WCAG & EAA Audit Pitfalls

  • Hiding the skip link with display: none (which prevents keyboard focus completely).
  • Using <h2> for the navbar logo and <h1> halfway down the page.
  • Placing content outside all landmarks (orphaned divs between <header> and <main>).
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

Can a page have more than one <main> element?

Only one <main> element may be visible (without the hidden attribute) at any time per HTML Living Standard and WCAG landmark best practices.

Why shouldn't I hide a skip link with display: none?

display: none removes the anchor from the keyboard tab order completely. Position it off-screen and move it visibly onscreen on :focus / :focus-visible.

Does skipping from <h1> to <h3> fail WCAG 2.2 AA?

Skipped heading levels confuse screen-reader hierarchy navigation under SC 1.3.1 Info and Relationships and should be kept sequential.