Back to reviews and guides

WCAG Compliance Best Practices: A Practical Guide

This practical guide lists specific best practices for WCAG compliance, covering semantic HTML, keyboard access, contrast, forms, ARIA use, testing methods and governance. It includes a prioritisation framework, an audit-to-remediation workflow and a compact operational checklist.

WCAG Compliance Best Practices: a practical guide

This guide lists concrete best practices for WCAG compliance and shows how to turn an accessibility audit into an ongoing programme. Use these steps whether you are starting from scratch or improving an existing site. The phrase “Best Practices for WCAG Compliance” appears here so searchers find a direct match to their query.

What WCAG covers and which version to follow

WCAG stands for Web Content Accessibility Guidelines. The common production versions are WCAG 2.1 and WCAG 2.2. WCAG 3 is a newer framework under development. Organisations in the UK typically aim for WCAG 2.1 level AA as the practical baseline. Match the WCAG version to your legal or procurement requirements before you start.

Conformance levels and why they matter

WCAG uses three levels: A, AA, AAA. Level AA is the standard most public sector bodies and many private organisations target. Level A fixes remove the most basic barriers. Level AA addresses the largest real-world access problems. Level AAA is strict and often impractical for entire sites.

Core technical best practices

These are the building blocks you must get right to meet WCAG success criteria and to deliver a usable site.

Use semantic HTML

  • Use native elements for headings, lists, tables and buttons. Screen readers and assistive tech rely on correct semantics.
  • Ensure heading order matches content structure. Headings convey page hierarchy.

Keyboard access

  • All interactive elements must be reachable and operable using Tab, Enter and Arrow keys when appropriate.
  • Visible focus must be present. If you remove the default focus outline, replace it with a high contrast, obvious focus style.

Colour contrast and visual presentation

  • Follow WCAG contrast ratios: 4.5:1 for normal text at AA, 3:1 for large text.
  • Avoid using colour alone to convey information. Provide redundant cues such as icons or text labels.

Images, icons and alt text

  • Provide concise alt text for meaningful images. For decorative images use empty alt attributes.
  • Ensure icons used as buttons have accessible names via aria-label or visible text.

Forms and input validation

  • Label every input element with a visible label. Use the label element linked to the input id.
  • Provide clear error messages and indicate the problem location. Describe how to correct the error.
  • Support keyboard-only users for controls such as date pickers. Do not rely on mouse-only widgets.

ARIA: use sparingly and correctly

  • Prefer native controls. Only add ARIA when native HTML cannot achieve the behaviour.
  • Follow WAI-ARIA authoring practices for roles, states and properties. Incorrect ARIA can break accessibility.

Media: captions, transcripts and audio descriptors

  • Provide captions for video and transcripts for audio. Captions must be accurate and synchronised.
  • Offer audio description when visual information is essential to understanding the content.

Testing: automated, manual and user testing

Testing needs three layers. Automated tools speed discovery. Manual checks find issues automation misses. Real users validate real-world usability.

Automated tools to run regularly

  • Use tools such as axe, Lighthouse, or WAVE to find obvious failures. Run them in CI for new builds.
  • Automated testing catches about 20% to 40% of issues, so view results as a starting point.

Manual checks developers must perform

  • Keyboard-only navigation across pages and interactive components.
  • Screen reader walkthroughs with NVDA on Windows and VoiceOver on macOS or iOS.
  • Colour contrast checks with contrast analyzers and real device inspection for visual defects.

User testing with people who have disabilities

Include people with vision, motor and cognitive impairments. Watch how they complete real tasks such as finding information or filling forms. Use their feedback to prioritize fixes.

Process and governance

A technical checklist is not enough. Embed accessibility into product lifecycle and procurement.

Policy and ownership

  • Create a brief accessibility policy that sets the target level, testing frequency and remediation SLAs.
  • Assign a product owner and a technical owner for accessibility decisions.

Procurement and contract clauses

  • Require accessibility requirements in tenders and acceptance criteria in contracts.
  • Ask suppliers for evidence such as recent audit reports and a published accessibility statement.

Accessibility statement and user feedback

  • Publish an accessibility statement that lists conformance level, known limitations and a contact for feedback.
  • Log and triage user reports from the accessibility contact. Use real reports to improve priorities.

Common mistakes and how to avoid them

  • Relying only on overlays. These rarely fix structural issues and can introduce new problems.
  • Using ARIA to patch bad HTML. Fix the underlying semantics first.
  • Testing only with a single screen reader or browser. Coverage across tools catches more issues.

Prioritisation framework: impact versus effort

When you have a long backlog, use a simple impact versus effort method to decide what to fix first.

  • High impact, low effort: fix missing labels, keyboard traps and low contrast text. These are quick wins.
  • High impact, high effort: redesigns for complex components such as custom widgets. Schedule these into releases.
  • Low impact, low effort: decorative improvements that do not affect core tasks. Do these opportunistically.
  • Low impact, high effort: consider whether the change is necessary for whole site. Use progressive enhancement instead.

Practical audit to remediation workflow

  1. Run automated scans to create an initial issue list.
  2. Perform manual checks for keyboard and screen reader behaviours.
  3. Group issues by page template and component rather than by URL to find root causes.
  4. Prioritise issues using the impact versus effort framework.
  5. Assign fixes to component owners with clear acceptance criteria mapped to WCAG success criteria.
  6. Retest fixes and update the accessibility statement when you reach a stable conformance level.

Continuous monitoring

Accessibility is not a one-off project. Add checks to CI pipelines, include an accessibility gate for releases and run quarterly manual audits. Keep an open channel for user feedback. Record metrics such as number of open accessibility defects and average time to close them.

Checklist: quick operational controls

Area Control
Headings Correct order, descriptive text, one H1 or logical page title
Keyboard All interactive elements reachable and operable
Labels Visible labels linked to inputs
Images Meaningful alt text or empty alt for decorative images
Media Captions and transcripts for multimedia
Forms Clear error handling and instructions

Public sector organisations must follow the Public Sector Bodies (Websites and Mobile Applications) Accessibility Regulations 2018 and publish an accessibility statement. The Equality Act 2010 expects reasonable adjustments for people with disabilities. If you work in procurement, ask for accessibility evidence and acceptance tests in contracts.

Next steps

Start with an automated scan and a single-page manual review. Collect user feedback early. Build accessibility into your definition of done for features. Track defects and repeat audits until you reach your target conformance level.

Further reading and tools

Commonly used tools include axe, Lighthouse, WAVE, NVDA and VoiceOver. Refer to the W3C site for authoritative WCAG documentation and to government guidance for legal obligations. Use these resources to verify technical implementation and conformance claims.