DevTools Surf logoDevTools Surf
AI / Modern DevAnimation / CSSAPI / Config
Sign in
DevTools Surf logoDevTools Surf
AI / Modern DevAnimation / CSSAPI / Config
Sign in
HomeWeb / FrontendAccessibility Auditor

Example: Accessibility Auditor

A worked example, rendered from real sample data. Sign in to run the tool on your own input.

Input
<html>
<body>
<img src="photo.jpg">
<a href="#"></a>
<h3>Skipped h1 and h2</h3>
<input type="text">
<div onclick="doSomething()">
</body>
</html>
Output
Accessibility audit — 8 findings (6 errors, 2 warnings, 0 notes)
7 elements across 9 lines scanned.

WCAG 1.1.1 Non-text Content (Level A) — 1 finding
  [error] line 3: <img> has no alt attribute
      code:   <img src="photo.jpg">
      impact: A screen reader reads out the file name instead of what the image shows.
      fix:    <img src="photo.jpg" alt="Describe what the image shows">

WCAG 1.3.1 Info and Relationships (Level A) — 2 findings
  [warning] line 1: No <main> landmark
      code:   <body>
      impact: Screen reader users jump straight to the main landmark; without it they must tab through the whole header every time.
      fix:    Wrap the primary content in <main>.
  [warning] line 5: The first heading is h3, not h1
      code:   <h3>Skipped h1 and h2</h3>
      impact: The page has no top-level heading, so its main topic is never announced.
      fix:    Start the document with a single <h1> describing the page.

WCAG 2.1.1 Keyboard (Level A) — 1 finding
  [error] line 7: <div> has an onclick handler but is not focusable
      code:   <div onclick="doSomething()">
      impact: Anyone using a keyboard or switch device cannot reach or trigger this control at all.
      fix:    Use <button type="button">, or add role="button" tabindex="0" and a keydown handler for Enter and Space.

WCAG 2.4.2 Page Titled (Level A) — 1 finding
  [error] line 1: The page has no non-empty <title>
      code:   <head>…</head>
      impact: The title is the first thing a screen reader announces and the only label in a list of open tabs.
      fix:    <title>Page name — Site name<
…

About Accessibility Auditor

Accessibility Auditor preview - Web / Frontend tool

Check HTML for common accessibility issues (ARIA, alt text, headings). Part of the DevTools Surf developer suite. Browse more tools in the Web / Frontend collection.

Use Cases

  • Frontend developers auditing components before pull requests
  • QA teams running accessibility checks as part of test suites
  • Designers validating that HTML matches accessible design specs
  • Compliance officers verifying WCAG conformance for legal requirements

Tips

  • Check all images for meaningful alt text descriptions
  • Verify heading levels follow a logical h1-h6 hierarchy
  • Ensure ARIA roles match their interactive element behavior

Fun Facts

  • The Web Content Accessibility Guidelines (WCAG) 1.0 were published by the W3C in 1999 — WCAG 2.0 followed in 2008, and WCAG 2.2 was released in October 2023.
  • An estimated 1.3 billion people worldwide experience significant disability — the WebAIM Million study found that 96.3% of home pages had detectable WCAG 2 failures in 2023.
  • Section 508 of the US Rehabilitation Act was amended in 2017 to adopt WCAG 2.0 AA as the federal standard, making accessibility a legal requirement for government websites.

FAQ

What does it check?
Common accessibility issues: missing alt text, heading order (skipped levels), ARIA misuse, form label associations, color contrast, keyboard-only focus.
Is this a complete audit?
No — automated tools catch 30-40% of accessibility issues. The other 60% needs manual review (screen reader testing, keyboard-only navigation, cognitive load).
What about WCAG levels?
Output references WCAG 2.2 success criteria. Each issue links to the specific criterion (1.1.1 for alt text, 2.4.6 for headings, etc.).
Does it check against live sites?
Paste HTML — the tool analyzes static markup. For live-site auditing use axe DevTools, Lighthouse, or WAVE browser extensions.

Related Web / Frontend Tools

Meta Tags / OG PreviewerTailwind → CSSHTML → React JSXHTML → MarkdownSVG → React ComponentCSS Unit Converterrobots.txt ValidatorSitemap XML Validator
New · Flagshipsimple REST client

REST Handler — Collections, env vars, history, cURL converter

Send requests, save collections (nested), swap environments, and convert between cURL / Collection JSON / REST Handler YAML.

Open

Popular tools

The most-used tools on DevToolsSurf, one click away.

Encoding & crypto

  • Base64 Encode
  • Base64 Decode
  • URL Encoder
  • URL Decoder
  • Hash Generator
  • JWT Decoder
  • JWT Encoder
  • UUID Generator
  • ULID Generator
  • Password Generator
  • Bcrypt Hash Tester

Converters

  • CSV to JSON
  • JSON to CSV
  • XML to JSON
  • JSON to XML
  • HTML → Markdown
  • HTML → React JSX
  • cURL to Code
  • Collection JSON → cURL
  • Swagger to Collection JSON
  • JSON → Go Struct
  • JSON → TypeScript Types

JSON & YAML

  • JSON Formatter
  • JSON Validator
  • JSON Viewer
  • JSON Minifier
  • JSON Diff
  • JSONPath Tester
  • YAML Formatter
  • YAML to JSON
  • JSON to YAML

Text & regex

  • Regex Tester
  • Text Diff
  • Case Converter
  • Word Counter
  • Markdown Preview
  • Slug Generator
  • Lorem Ipsum Generator
  • Markdown → PDF

CSS & color

  • CSS Beautifier
  • Minify CSS
  • Color Converter
  • Gradient Generator
  • Contrast Checker
  • Color Palette Generator
  • Flexbox Playground
  • Tailwind → CSS

Generators

  • QR Code Generator
  • Mock Data Generator
  • Favicon Generator
  • .gitignore Builder
  • README.md Generator
  • Dockerfile Generator
  • Sitemap Generator

API & networking

  • REST Handler
  • HTTP Header Analyzer
  • IP Address Lookup
  • CIDR Calculator
  • User-Agent Parser
  • HTTP Status Reference
  • OpenAPI Viewer

Date & time

  • Timestamp Converter
  • Timezone Converter
  • Cron Expression Parser
  • Duration Calculator
  • Age Calculator
  • Date Format Converter

Images

  • Image Converter
  • Image Resizer (Batch)
  • SVG Optimizer
  • Base64 ↔ Image
  • WebP ↔ AVIF Converter
  • Image Compressor

PDF tools

  • PDF Merger
  • PDF Splitter
  • PDF Compressor
  • Markdown → PDF
  • EPUB → PDF
  • MOBI / AZW → PDF
  • DOCX → PDF
  • HTML → PDF

Resources

  • Community feed
  • Themes marketplace
  • Pricing & credits
  • Privacy policy
  • Terms of service
  • Sitemap
  • robots.txt

Your account

  • Sign in
  • Dashboard
  • Run history
  • My profile
  • Settings
DevTools Surf logo
DevTools Surf919+ tools

Fast · privacy-first · client-side · © 2026

Home·Feed·ThemesPricing·Sign inPrivacy·Sitemap Feedback