Get in Touch
Web Accessibility Testing for Beginners: A Practical 2026 Guide - Red Surge Technology Blog
web accessibilityWCAGaccessibility testinginclusive designweb developmenttutorialbeginnersemantic HTML

If you've searched for a beginner guide to web accessibility testing and found yourself drowning in WCAG specifications, you're not alone. Most accessibility resources explain what accessibility is. Far fewer explain how to actually test for it — which is what you need when you're staring at a page you built, wondering whether it works for people who don't experience it the way you do.

This guide is about testing. It walks through a six-step testing workflow you can run today, the seven failures automated scans catch most often with fixes for each, and the conceptual background you need to interpret what your tests reveal. It's written for developers who have never run an accessibility audit before.

Here's the grounding fact worth knowing upfront: WebAIM's annual analysis of the top one million homepages found that over 96% had detectable WCAG failures, averaging more than 50 distinct errors per page. Accessibility failures aren't rare edge cases. They're the default. The good news is that most of them are catchable with a repeatable testing process that takes under an hour per page.

Quick answer: what does accessibility testing actually involve?

Accessibility testing combines three things:

  1. Automated scans (5 minutes) — free tools that catch roughly 30–40% of issues: missing alt text, contrast failures, missing form labels, invalid ARIA.
  2. Manual keyboard testing (15 minutes) — using only Tab, Shift+Tab, Enter, and Space to complete a real task.
  3. Screen reader testing (20 minutes) — navigating your page with VoiceOver or NVDA to hear what a blind user hears.

Automated tools alone are not enough. Manual testing alone misses structural issues. Screen reader testing alone misses contrast failures that don't affect audio output. You need all three, and they reinforce each other.

Why accessibility testing matters beyond ethics

The ethical case is obvious — you want your site to work for everyone. The practical cases matter just as much when you're justifying the work.

Legal exposure. In the United States, courts have consistently ruled that websites qualify as places of public accommodation under the ADA. Thousands of accessibility lawsuits are filed each year, and small businesses are targeted as often as large ones. The European Accessibility Act came into force in June 2025, requiring many digital products to meet accessibility standards across the EU.

SEO overlap. Accessibility testing and SEO testing examine much of the same underlying structure. Descriptive alt text helps screen readers and image search. Proper heading structure helps navigation and search ranking. Clean semantic HTML improves Core Web Vitals. Fixing one usually improves the other.

Real user coverage. The World Health Organization estimates over 16% of the world's population has some form of disability — more than 1.3 billion people. Add temporary impairments (a broken wrist, a noisy train) and situational impairments (bright sunlight, aging eyes) and the number of people who benefit from accessible design at any given moment is much higher than the disability statistics alone suggest.

What is WCAG, and why does it matter for testing?

WCAG stands for Web Content Accessibility Guidelines — the international standard maintained by the W3C (the same body that standardizes HTML and CSS). When someone says "make this accessible," they mean "meet WCAG." When you run a testing tool, it reports WCAG success criteria failures.

The current version is WCAG 2.2, published October 2023. It added nine success criteria and removed one (4.1.1 Parsing, which is now redundant because modern browsers handle malformed markup gracefully). WCAG 2.2 is fully backwards compatible: meeting 2.2 AA automatically satisfies every regulation that references 2.1 or 2.0.

Three conformance levels exist:

  • Level A — minimum requirements. Without these, entire categories of users can't use your site at all.
  • Level AA — the standard target. This is what accessibility laws reference, what auditors test against, and what you should aim for.
  • Level AAA — aspirational. Most sites don't attempt full AAA compliance.

For practical purposes, target WCAG 2.2 Level AA. If you want the full list of criteria, see our WCAG 2.2 checklist. This guide is about testing against it.

The POUR framework: a mental model for testing

WCAG is organized around four principles — Perceivable, Operable, Understandable, Robust (POUR). The framework gives you a way to reason about testing without memorizing every success criterion.

Perceivable — Can users perceive the content? Test for: alt text on images, contrast ratios, captions on video, color not used alone to convey meaning.

Operable — Can users operate the interface? Test for: full keyboard access, no keyboard traps, visible focus indicators, sufficient time limits, no seizure-inducing flashing.

Understandable — Can users understand it? Test for: page language declared, headings in logical order, error messages that explain the problem, consistent navigation.

Robust — Does it work with assistive technology? Test for: valid semantic HTML, correct ARIA usage, names and roles on custom widgets.

When you encounter a failed test, POUR tells you why it matters and which user it affects. That's more useful than memorizing criterion numbers.

The six-step accessibility testing workflow

This is the workflow I use on every project. It takes roughly 40–60 minutes per page the first time, faster once you're practiced.

Step 1 — Automated scan

Run the page through a free automated tool. WAVE is browser-based and requires no installation. The axe DevTools extension integrates into Chrome and Firefox DevTools.

These tools catch roughly 30–40% of accessibility issues automatically: missing alt text, contrast failures, missing form labels, invalid ARIA attributes, skipped heading levels.

What to do with the output: Triage by impact. Fix the errors (red) first, then the alerts (yellow). Some warnings are false positives — an "empty link" alert on a link whose accessible name is provided via aria-labelledby is correct, for example. Read each result before fixing it.

Step 2 — Keyboard test

Unplug your mouse. Physically put it out of reach. Navigate your site using only:

  • Tab to move forward between focusable elements
  • Shift+Tab to move backward
  • Enter to activate links and buttons
  • Space to toggle checkboxes and activate buttons
  • Arrow keys within compound widgets (tabs, menus, listboxes)

Ask yourself:

  • Can I reach every interactive element?
  • Is the focus indicator always visible?
  • Are there keyboard traps (Tab in, can't Tab out)?
  • Does the tab order follow a logical sequence?

The most common failure: outline: none in CSS without a replacement. This removes the focus indicator entirely. Keyboard users lose all sense of position. Always replace outline: none with a custom focus style using :focus-visible.

Step 3 — Screen reader test

Turn on a screen reader and try to use the page without looking at the screen.

  • macOS: VoiceOver (Cmd + F5 to toggle)
  • Windows: NVDA (free)
  • iOS: VoiceOver in Settings > Accessibility
  • Android: TalkBack

You don't need to become an expert. You need to experience what it's like to consume your page without seeing it. Can you understand the content? Are the forms navigable? Do the images convey meaning through their alt text?

Try these three specific tests:

  1. Navigate by headings (typically H key in NVDA, or rotor in VoiceOver). Are there enough headings? Do they describe the sections?
  2. Navigate by landmarks. Does the page have <main>, <nav>, <header>, <footer>?
  3. Tab through the form. Does each field announce its label?

Step 4 — Contrast check

Use the WebAIM Contrast Checker to test text colors against their backgrounds.

  • Normal text: 4.5:1 minimum
  • Large text (18pt+ or 14pt bold+): 3:1 minimum
  • UI components (borders, focus indicators): 3:1 minimum

Test your primary text, secondary/muted text, link color, button text, and form labels. Muted or secondary text is the most common failure — designers often lighten it for visual hierarchy, which pushes it below 4.5:1.

Step 5 — Zoom and reflow test

Set browser zoom to 200% (Ctrl/Cmd + Plus). WCAG requires that content remain readable and functional without horizontal scrolling at 320 CSS pixels width. Check:

  • Does the layout hold together?
  • Is any content clipped or overlapping?
  • Can you still navigate and complete key tasks?

Also test at 320px viewport width (roughly a small phone). Content should reflow to a single column.

Step 6 — Content review

Read the page as a first-time visitor would. Are headings descriptive? Do links make sense out of context? Do error messages explain what to fix?

This step catches issues no tool finds: unclear language, jargon, ambiguous link text, error messages that identify the problem without suggesting a fix.

The seven most common failures (and how to fix them)

These account for the majority of accessibility failures in automated scans. If you fix only these, your pages will be dramatically more accessible.

1. Images without alt text

Every meaningful image needs an alt attribute describing what it conveys in context. Decorative images use alt="" so screen readers skip them.

<!-- Bad: missing alt; screen reader may read the filename -->
<img src="team-photo.jpg" />

<!-- Good: descriptive alt text -->
<img
  src="team-photo.jpg"
  alt="The Red Surge Technology team at our Monmouth County office"
/>

<!-- Decorative: empty alt so screen readers skip it -->
<img src="divider.png" alt="" />

For long descriptions on complex images (charts, diagrams), use aria-describedby to link to a nearby text description. For icons that duplicate adjacent text, use aria-hidden="true" on the icon so screen readers only announce the text.

2. Poor color contrast

/* Bad: light grey on white fails 4.5:1 */
.text-muted {
  color: #aaaaaa;
  background: #ffffff;
}

/* Good: passes 4.5:1 comfortably */
.text-body {
  color: #333333;
  background: #ffffff;
}

Test every text color combination on your page. Secondary and muted text are the most common failures. If you use CSS variables for theming, audit each theme variant.

3. Non-descriptive link text

Screen reader users often navigate by pulling up a list of every link on the page. If every link says "click here" or "read more," that list is useless.

<!-- Bad: no context -->
<a href="/blog/seo-guide">Click here</a>

<!-- Good: descriptive out of context -->
<a href="/blog/seo-guide">Read our Local SEO Guide for NJ Businesses</a>

If design requires a short CTA, add hidden context:

<a href="/blog/seo-guide">
  Read more
  <span class="visually-hidden"> about local SEO for NJ businesses</span>
</a>

The .visually-hidden class hides content visually while keeping it in the accessibility tree. This is a standard pattern used across the web.

4. No keyboard navigation

Every interactive element must be reachable and operable by keyboard. The most common failure is removing the focus outline:

/* Bad: removes the focus ring entirely */
*:focus {
  outline: none;
}

/* Good: custom focus ring, shown only for keyboard users */
*:focus-visible {
  outline: 2px solid #0066cc;
  outline-offset: 2px;
}

The :focus-visible pseudo-class only shows the ring for keyboard navigation, not mouse clicks. You get the best of both worlds — a visible ring for keyboard users, and no ring for mouse users.

Test this by tabbing through every interactive element on the page. If you ever lose track of where the focus is, you've found a failure.

5. Forms without proper labels

Every form input needs a visible, programmatically associated label. Placeholder text is not a label — it disappears when the user types, and it typically has low contrast.

<!-- Bad: placeholder substitutes for label -->
<input type="email" placeholder="Email address" />

<!-- Good: explicit label associated via for/id -->
<label for="email">Email address</label>
<input type="email" id="email" name="email" />

The for attribute on the label must match the id on the input. Clicking the label focuses the input (usability win for everyone), screen readers announce the label when the input receives focus, and the form works correctly for every interaction method.

Required fields need programmatic indicators, not just color:

<label for="name">
  Full name
  <span aria-hidden="true">*</span>
  <span class="visually-hidden">(required)</span>
</label>
<input type="text" id="name" name="name" required aria-required="true" />

Error messages must be programmatically associated with the field they describe:

<label for="email">Email address</label>
<input
  type="email"
  id="email"
  name="email"
  aria-describedby="email-error"
  aria-invalid="true"
/>
<span id="email-error" role="alert">Please enter a valid email address.</span>

The aria-describedby connects the error to the input. The role="alert" ensures screen readers announce it when it appears. The aria-invalid marks the input as currently invalid.

6. No page structure (headings and landmarks)

Screen reader users navigate by jumping between headings. If your headings are chosen for visual size rather than structure, this navigation breaks.

Use one <h1> per page, then <h2> for main sections, <h3> for subsections. Never skip levels. Never choose a heading level because it's the right size — use CSS for that.

<!-- Bad: headings chosen for size, no logical order -->
<h3>Welcome</h3>
<h1>Services</h1>
<h3>Web Design</h3>

<!-- Good: logical hierarchy -->
<h1>Welcome to Red Surge Technology</h1>
<h2>Our Services</h2>
<h3>Web Design</h3>
<h3>Local SEO</h3>
<h2>About Us</h2>

Use semantic landmarks to define major regions:

<header>
  <nav><!-- navigation --></nav>
</header>
<main>
  <!-- main content -->
  <aside><!-- sidebar --></aside>
</main>
<footer><!-- footer --></footer>

These let screen reader users jump directly to main content, skip navigation, or move to the footer — without tabbing through every element.

7. Videos without captions

Any video with meaningful audio needs accurate captions. Auto-generated captions from YouTube are a starting point, not a finished product — they garble technical terms and names.

For HTML5 video:

<video controls>
  <source src="intro.mp4" type="video/mp4" />
  <track
    kind="captions"
    src="intro-captions.vtt"
    srclang="en"
    label="English"
    default
  />
</video>

For YouTube and Vimeo, upload corrected .vtt or .srt caption files in the platform's video settings.

A note on ARIA: use it sparingly

ARIA (Accessible Rich Internet Applications) provides additional semantic information for assistive technologies. It's essential for custom widgets — dropdowns, modals, tab panels — where native HTML semantics aren't sufficient.

But the first rule of ARIA is: don't use it when native HTML does the job.

  • <button> is always better than <div role="button">
  • <nav> is always better than <div role="navigation">
  • <input type="email"> is always better than <div role="textbox">

ARIA fills gaps. It shouldn't replace HTML. If you're building custom widgets that need ARIA, use accessible primitives like React Aria Components that handle the complexity for you.

What to test after a WCAG 2.2 upgrade

If your site currently meets WCAG 2.1 AA and you're targeting 2.2, run these additional tests:

  • Focus not obscured (2.4.11): Tab through with sticky headers and chat widgets present. Can the focus indicator be entirely hidden?
  • Dragging movements (2.5.7): Any drag-only interactions (sliders, carousels) need a single-pointer alternative.
  • Target size (2.5.8): Measure tap targets. Anything under 24×24 CSS pixels needs to be larger or spaced further apart.
  • Consistent help (3.2.6): Are help mechanisms (contact links, chat) in the same place on every page?
  • Redundant entry (3.3.7): Do multi-step forms re-ask for information already provided?
  • Accessible authentication (3.3.8): Does login work with password managers and paste?

For the full 2.2 checklist, see our WCAG 2.2 checklist.

Resources worth bookmarking

  • WebAIM — The most approachable accessibility resource on the web. Contrast checker, WCAG checklist, annual accessibility analysis.
  • The A11Y Project — Community-driven checklists and patterns in plain language.
  • MDN Accessibility docs — Reference for HTML semantics, ARIA, and accessible component patterns.
  • WCAG 2.2 Quick Reference — Official success criteria with filters for Level A and AA.
  • Inclusive Components — Deeply practical patterns for accessible UI components.

For developer-focused checklists and deeper dives, see our WCAG checklist for web developers, our accessibility checklist for developers, and our WebAIM WCAG checklist guide.

Frequently asked questions

Do I have to make my website accessible by law?

In the US, the ADA has been consistently applied to websites by courts, and Section 508 applies to federal agencies and contractors. In the EU, the European Accessibility Act came into force in June 2025. The legal direction is clear: accessibility requirements are expanding. Consult a lawyer familiar with digital accessibility law for specific obligations.

What's the difference between WCAG 2.1 and 2.2?

WCAG 2.2 (October 2023) adds nine success criteria and removes one. The new criteria focus on cognitive disabilities, low vision, and motor impairments. If you already meet 2.1 AA, upgrading to 2.2 AA requires addressing the nine new criteria. See our WCAG 2.2 vs 2.1 breakdown for the full list.

What's the difference between WCAG 2.1 vs WCAG 2.0?

WCAG 2.1 (2018) added 17 success criteria focused on mobile accessibility, low vision, and cognitive disabilities. It's fully backwards compatible with 2.0. Since 2.2 is now current and includes everything from 2.1, target 2.2 unless a specific contract requires an older version.

How do I make an existing website accessible without rebuilding?

Start with an automated scan (WAVE or axe). Fix high-impact issues first: alt text, contrast, form labels. Then move to keyboard navigation and screen reader testing. Work incrementally — a steady, prioritized approach is sustainable; a full rebuild usually isn't necessary.

Does accessibility hurt website performance or design?

No. Semantic HTML is lighter than div-heavy markup. Descriptive link text and headings improve SEO. Good contrast improves readability for everyone. The perception that accessible design is visually limiting is a myth. Accessibility constraints push toward clarity, which generally produces better design.

How much extra work is accessibility if I start from the beginning?

Industry evidence consistently shows 10–20% additional development time when accessibility is built in from the start. Retrofitting an inaccessible site can cost several times the original build. The single highest-impact thing you can do is write semantic HTML from the beginning — most of accessibility is just good HTML.

What should I fix first?

Begin with keyboard accessibility. Close your mouse and use your site. Every issue you discover is something real users hit every day. Fixing keyboard navigation addresses barriers for the widest range of users — including screen reader users, motor-impaired users, and power users — and forces you to think about interactive element semantics, which improves everything downstream.

How often should I run accessibility tests?

Run automated scans on every pull request in CI. Do manual keyboard and screen reader testing before every major release. Run a full audit annually or whenever you significantly change the site structure. Accessibility isn't a one-time project — it's a practice.


Written by Collin Stewart, founder of Red Surge Technology. We build fast, accessible websites for small businesses across New Jersey. If you want a second pair of eyes on your site's accessibility, reach out. For further reading, see our WCAG guidelines checklist and our WAI-ARIA authoring practices guide.