Accessibility Fixer

Turn WCAG 2.2 problems in your HTML into concrete code fixes, grouped by effort.

Static HTML only; JavaScript is not executed.

Takes precedence over the URL.

More options

Try an example: ·

More about this tool

Part of Paperwell Contracts, safety & accessibility

How it works

Paste HTML or enter a URL and get a fix list: for every detected accessibility problem the tool shows the offending element, a corrected version generated from it (alt text, labels, lang, names, heading levels, table headers…) and how much work it is. Placeholders that need human judgement are marked TODO, and a patch-style diff is included.

  • Runs the same static rule set as Accessibility Snapshot (WCAG 2.2 mapping verified against the W3C Recommendation).
  • Each fix is generated from the actual element: the original start tag is re-serialised with the needed attribute added, changed or removed (e.g. alt, aria-label, lang, id + <label for>, th scope, tabindex).
  • Text the tool cannot know — what an image shows, what a field means, the page language — is never guessed: it is inserted as a TODO placeholder (lang="en" is only a placeholder).
  • Fixes are grouped by effort: quick = attribute change, moderate = markup change that may affect styling, involved = structural or content work.

Automated static checks can only detect some failures. They cannot establish WCAG 2.2 conformance: conformance requires a full manual review of every page state (WCAG 2.2 §5.2), including rendered contrast, keyboard operation and assistive-technology testing.

Sources

Use this tool in an app

These free programs for your browser have this tool built in, next to everything else the task needs.

  • Paperwell Document studio: PDFs, OCR, redaction, forms & contract reading

    Your paperwork in one dossier: PDF tools, OCR, redaction, forms and contract reading.

    Open Paperwell

Related tools

  • Accessibility Snapshot – Static WCAG 2.2 snapshot of a page: findings by severity, evidence and manual checks.

How to use the Accessibility Fixer

Get concrete fixes for accessibility problems in your HTML — alt text, labels, lang, button names, heading order — as code and a patch.

What it is for

Most accessibility checkers tell you what is wrong ("form element has no label") and leave you to work out the fix. This tool goes one step further: for every problem it finds in static HTML, it shows the offending element and a corrected version built from that exact element — the same tag with the missing alt, aria-label, lang, id plus <label for>, <th scope> or heading level added. Fixes are sorted by effort, mapped to WCAG 2.2 success criteria and collected into a patch-style diff.

It never invents content. What an image shows, what a field is for and what language the page is in are left as clearly marked TODO placeholders for a person who knows the content. And automated checks only catch some problems: contrast as rendered, keyboard behaviour and screen-reader testing still need a manual review.

Worked example

A small checkout page: a logo image inside a link with no alt text, an <h1> followed directly by an <h4>, a name input with only a placeholder, an unlabelled country <select>, an icon-only submit button, and a photo whose alt text is its file name.

Result: 7 fixes — 4 quick, 3 moderate, 0 involved — and 5 that need human-written text.

Worked example
FixProblemSuggested change
F001<html> without lang<html lang="en"> + TODO: confirm language code
F002Logo link without altalt="TODO: link purpose (/)"
F003Icon-only buttonaria-label="TODO: button action"
F004alt="IMG_2041.jpg"alt="TODO: describe image"
F005Name input with placeholder only<label for="field-fullname">Full name</label> + id
F006Unlabelled select<label for="field-country">TODO: field label</label>
F007<h4> after <h1><h2>Delivery address</h2>

Notice F005: the placeholder "Full name" is reused as the label text, but still marked "confirm label", because a placeholder disappears as soon as someone types and isn't a reliable label.

How to read the result

  • Fixes with effort groups: quick is an attribute change (minutes), moderate changes markup and may affect styling, involved means structural or content work.
  • Need human text counts fixes containing TODO placeholders — the part only you can do.
  • Fix details list severity, the WCAG 2.2 criterion and level, the line, and the before/after code.
  • The suggested patch puts all changes in diff format. Review every TODO before applying it.

Tips and common mistakes

  • Don't ship TODOs. A lang="en" placeholder on a German page is worse than no fix; replace it with the real language code.
  • Decorative images should get alt="" (empty), not a description. The tool can't know which images are decorative, so decide when you fill in the TODO.
  • A <div role="button"> is a common trap: it looks like a button but can't be reached or pressed with the keyboard. The suggested fix is a native <button>.
  • Changing a heading level is about structure, not size. Keep the look with CSS if needed.
  • For pages that render content with JavaScript, paste the HTML from your browser's developer tools ("Copy outer HTML") rather than using the URL.
  • Fix the critical items (missing names and labels) first; they block screen-reader users completely.

FAQ

Does a clean result mean my site is WCAG compliant?

No. Conformance requires a full manual review of every page state, including contrast, keyboard operation and assistive-technology testing. The tool covers the static checks only.

Why doesn't it write the alt text for me?

Good alt text depends on why the image is there, which only the author knows. Guessing would produce confident but wrong descriptions.

What's the difference from Accessibility Snapshot?

Both use the same rule set. The snapshot reports problems; the fixer turns each one into corrected code and a patch.

Can I fix a whole site at once?

It works one page or HTML snippet at a time. Fix your templates (header, footer, forms) first and the fixes carry over to every page using them.

Guide last updated:

For scripts and AI agents

  • JSON API: POST https://accessibilityfixer.usefulweb.site/api/v1/calculate (same calculation as this page)
  • Interface description: OpenAPI 3.1 · AI guide: llms.txt
  • MCP server (Streamable HTTP): https://accessibilityfixer.usefulweb.site/mcp · tool name accessibility_fixer
Example request
curl -s -X POST https://accessibilityfixer.usefulweb.site/api/v1/calculate \
  -H 'content-type: application/json' \
  -d '{"html":"<html>\n<head><title>Shop</title></head>\n<body>\n<header><a href=\"/\"><img src=\"/img/logo.svg\"></a></header>\n<main>\n<h1>Checkout</h1>\n<h4>Delivery address</h4>\n<form action=\"/pay\">\n  <input type=\"text\" name=\"fullname\" placeholder=\"Full name\">\n  <select name=\"country\"><option>Germany</option><option>France</option></select>\n  <button type=\"submit\"><i class=\"icon-arrow\"></i></button>\n</form>\n<img src=\"/img/IMG_2041.jpg\" alt=\"IMG_2041.jpg\">\n</main>\n</body>\n</html>","includeBestPractice":true,"maxFixes":80}'
Feedback · ideas & bug reports welcome