HTML Accessibility Tools

Button Accessibility Checker

Close icons ('×'), hamburger menus, and card action divs are among the most common accessibility blockers. Audit every button control in your HTML locally.

Your files and content are processed locally in your browser. We do not upload your files to our servers.

What This Tool Does

  • Checks <button>, <input type='button|submit|reset'>, and [role='button'] for accessible names.
  • Detects clickable <div>/<span> handlers that should be native <button> elements.

Who Should Use It

  • UI developers
  • Design system testers

How to Use Button Accessibility Checker

  1. Paste component or form HTML to validate button semantics and labels.

Accessibility Principles & Technical Methodology

A native <button type='button'> automatically supports Tab focus, Enter, and Space activation—while clickable divs fail keyboard users.

Technical Methodology

DOMParser inspection of button elements and clickable non-semantic containers.

Practical Examples

Close Button

<button type="button" aria-label="Close modal"><span aria-hidden="true">&times;</span></button>

Relevant WCAG 2.2 Criteria

  • 2.1.1 Keyboard (A)
  • 4.1.2 Name, Role, Value (A)
Explore WCAG 2.2 Guide

Common Mistakes to Avoid

  • Icon-only close button <button>×</button>—prefer aria-label='Close dialog' with aria-hidden='true' on the glyph.

Button Accessibility Checker — FAQs

Yes! Omitting type defaults a <button> inside a <form> to type='submit', causing unintended submissions.
HTML Structure

Semantic HTML Checker

Spot clickable <div> elements, missing landmarks, and non-semantic markup patterns.

Open tool
HTML Structure

HTML Accessibility Checker

Comprehensive local HTML audit with DOM structural checks, optional axe-core scan, and before/after preview.

Open tool
HTML Structure

Heading Structure Checker

Visualize H1–H6 document outline hierarchy and catch skipped or empty headings.

Open tool
HTML Structure

H1-H6 Hierarchy Validator

Validate strict sequential H1–H6 nesting and catch empty or out-of-order headings.

Open tool
HTML Structure

Link Accessibility Checker

Audit <a> links for descriptive names, empty links, and placeholder href anti-patterns.

Open tool