Web Accessibility Code Checker

Check HTML snippets or full pages for common accessibility errors, see the WCAG criterion and a fix for each, and apply safe fixes automatically.

Draait in je browser. Je bestanden verlaten je apparaat nooit. Zie hoe je dit controleert

…

Zo doe je het

  1. 1
    Paste or open HTML

    Paste markup into the editor or press Open HTML file.

  2. 2
    Read the summary

    Check the counts of errors, warnings, notices and one-click fixes.

  3. 3
    Review issues

    In Issues read the line, WCAG criterion, problem and fix for each finding.

  4. 4
    Apply fixes

    Press Apply fix on safe patches, or use the Fixed HTML tab.

  5. 5
    Check colours

    Use the Contrast checker tab for colours set in CSS files.

  6. 6
    Export

    Download the CSV report or the fixed HTML.

Over deze tool

Many accessibility failures are visible in the markup itself: an image without alt text, an input that relies on a placeholder instead of a label, an icon button with no name, a heading that jumps from h1 to h3, a misspelled ARIA role, or a viewport tag that blocks zooming. This checker parses the HTML you paste or open, runs about 35 rules mapped to WCAG 2.2 success criteria, and lists each finding with its line, level, criterion, the offending tag and a concrete fix. Several problems can be fixed with one click, such as adding lang, an empty alt for review, an iframe title or removing a positive tabindex, and the Fixed HTML tab shows the result.

Who this is for

Front-end developers reviewing a component, content editors pasting CMS output, QA testers, and teams preparing for the European Accessibility Act or ADA reviews.

What is checked

Text alternatives (1.1.1): images, image buttons, image map areas and inline SVG. Info and relationships (1.3.1): labels, list structure, table headers, heading order and the main landmark. Contrast (1.4.3) where text and background colours are written inline. Zoom (1.4.4): viewport settings. Keyboard (2.1.1): click handlers on divs and links without href. Timing and motion (2.2.1, 2.2.2): meta refresh, marquee and blink. Page title and language (2.4.2, 3.1.1). Link purpose (2.4.4): empty links and vague text such as "click here". Focus order (2.4.3): positive tabindex. Name, role, value (4.1.2): buttons, iframes, invalid roles, aria-hidden on focusable elements and ARIA references to ids that do not exist.

Levels

Errors are clear failures of a success criterion. Warnings are likely problems that depend on context, such as a video that may need captions or alt text that looks like a file name. Notices are best practices, such as one h1 per page. Hide rule removes a rule from the list while you work.

Fixes

Every finding has a written fix. Where the change is safe and mechanical, the patched start tag is shown with Apply fix. The Fixed HTML tab applies all such patches at once; placeholders say TODO where only a human can write the right text, for example the alt text of a photo.

Contrast checker

A separate tab computes the WCAG contrast ratio of any two colours and shows pass or fail for AA normal text (4.5:1), large text and UI components (3:1) and AAA (7:1). For example #777777 on white is 4.48:1, just below AA, while #767676 reaches 4.54:1.

Worked example

The sample pricing page produces eight errors (the missing lang, an image without alt, an email field with only a placeholder, an icon-only button, a clickable div, a zoom block, grey text at 2.54:1 and an untitled iframe), four warnings (alt="IMG_2041.jpg", an unlabelled SVG, "click here" and the h1 to h3 jump) and one notice about the missing main landmark. Six findings have one-click fixes, and after applying them seven findings remain for a human to resolve.

Limits

Automated checks find only part of all accessibility problems. This tool reads markup only: it does not run JavaScript, load stylesheets or see the rendered page, so focus visibility, reading order, colour from CSS files and real screen reader behaviour are not tested. It is not a conformance audit; test with a keyboard and assistive technology too.

Uitgewerkt voorbeeld

Sample page: 8 errors, 4 warnings, 1 notice; one-click fixes resolve 6 of the 13 findings.

In het kort

Veelgestelde vragen

Which WCAG version is used?

WCAG 2.2, the current W3C Recommendation. The criteria referenced exist in WCAG 2.1 as well, except where noted.

Can it check a live URL?

No. Paste the HTML or open a saved file; browsers do not let one site read another site's pages.

Why is contrast not checked everywhere?

Colours from CSS files are unknown without rendering the page, so only inline style colours are compared.

Is empty alt text an error?

No. alt="" is correct for decorative images; it tells screen readers to skip them.

Does passing mean my page is accessible?

No. It means these automated rules found nothing; manual testing is still needed.

Is my code uploaded?

No. Parsing and checking happen in your browser.

Helemaal gratisGeen kosten, geen registratie
Bestanden blijven privéAlles draait in je browser
Makkelijk in je eigen taalBeschikbaar in veel talen