HTML Accessibility Audit: Practical Review
Establish a review scope
WCAG groups accessibility requirements under perceivable, operable, understandable and robust principles. Start with a defined page and task, then check document title, language, heading hierarchy and landmarks. This preliminary review is not a conformance certification.
<!doctype html><html lang="en"> <head> <meta charset="utf-8"> <title>Library guide</title> </head> <body> <main> <h1>Library guide</h1> <h2>Opening hours</h2> <p>9 to 5.</p> </main> </body></html>Check the title, lang, main landmark and heading ranks.
Correct a control defect
A visible label and a real button repair common identification and activation problems. Use an appropriate input type and explicit button type. The example uses a non-submit button because no server is available. Audit actual form validation and submission separately.
<label for="email">Email</label><input id="email" type="email"><button type="button">Check email</button>Inspect the label and test the Tab order; the button is an illustrative action without a handler.
Audit a complete local task
Combine a skip target, descriptive controls and an observable feedback region. Activate the button with the keyboard, inspect its computed name, and check that the update appears without an unexpected focus move. The small script changes textContent on click.
<a href="#content">Skip to content</a><main id="content" tabindex="-1"> <h1>Reading checklist</h1> <button id="done" type="button">Mark reading complete</button> <p id="feedback" role="status"></p></main><script> document.getElementById("done").addEventListener("click", () => { document.getElementById("feedback").textContent = "Reading complete."; });</script>Activate the button. Feedback becomes Reading complete. Test focus and actual announcements separately.
Common mistakes and practice
Record each issue with page, steps, expected/actual result, user impact and retest status. Review text alternatives, contrast, zoom/reflow, keyboard focus, errors, media captions and language changes. Include real assistive technology tests and representative pages before making any WCAG conformance claim.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
HTML Accessibility Audit: Practical Review — Knowledge Check
Apply the accessibility concepts taught in this lesson.
What does a preliminary accessibility audit establish?
Which is a WCAG principle?
What belongs in an issue record?
How should keyboard testing be performed?
What is necessary before a conformance claim?