Skip to the main content
{}
Back to all articles

Technical article

WCAG 2.2 for business websites: a practical accessibility checklist

Translate WCAG 2.2 into concrete checks for headings, forms, keyboard use, focus, contrast, target size and status feedback.

By Codegenie2 minute read
  • UX & accessibility
  • WCAG
  • 2.2
  • business
  • websites
  • practical
Website components with accessibility symbols and checks.
In this article

A practical WCAG 2.2 check examines whether someone can complete key tasks: navigate, understand information, complete a form and recover from errors. An automated scan or this checklist is not a full conformity statement.

Start with one complete task

Illustration: visit a service page, open the menu, choose contact and submit an empty form. Do this using only the keyboard. Record the route and state where focus disappears, an action is unavailable or an error is unclear. Also examine the continuation after correcting the error.

Checks with observable outcomes

  • Tab and Shift+Tab follow a logical sequence; focus remains visible and is not entirely hidden by fixed content.
  • Controls have clear names and work without hover; a dialog can close without losing focus.
  • Text, controls and error states have sufficient contrast; colour is not the only cue.
  • Enlarged text and a narrow viewport do not cut off ordinary content or actions.
  • Informative images have appropriate text; decorative images can use alt="".

Connect field errors to their fields

Programmatically connect label, help text and error messageresources/views/components/form/input.blade.phphtml
<label for="email" class="font-semibold">Email</label>
<p id="email-help" class="text-sm text-slate-600">
    We only use this address to reply to your request.
</p>
<input
    id="email"
    name="email"
    type="email"
    aria-describedby="email-help email-error"
    aria-invalid="true"
>
<p id="email-error" role="alert">Enter a valid email address.</p>

Illustrative error-state fragment: aria-describedby references existing help and error text, while aria-invalid describes the current invalid state. Present that state only when an error exists. For several errors, a focusable summary linking to fields can help; avoid multiple live regions repeating the same error.

Additional considerations in 2.2

Include unobscured focus, alternatives to dragging and minimum target size. Target size has exceptions and spacing rules; requiring every element to be 44 pixels is not an accurate summary of level AA.

Record coverage honestly

Use tools for detectable errors and manually assess reading order, operation and understanding. Record pages, states, browser and assistive tools tested. A full assessment must cover relevant success criteria and complete processes; this task-based sample alone cannot establish that.

Code examples are illustrative. They have not been executed in a complete Laravel project; adapt imports, relationships, routes and configuration to your project and test actual behaviour.

Last updated:

Need technical context for your own project?

Codegenie helps with Laravel applications, existing codebases, shared-hosting deployments and technical improvements.