API & MCP
Everything a person can do on Accessibility Fixer, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://accessibilityfixer.usefulweb.site/api/v1/calculate– run Accessibility FixerGET https://accessibilityfixer.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Accessibility Fixer
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.
| Field | Type | Default | Description |
|---|---|---|---|
url | url | — | Page URL. Static HTML only; JavaScript is not executed. |
html | textarea | — | Or paste HTML. Takes precedence over the URL. |
includeBestPractice | boolean | true | Include best-practice and review items |
maxFixes | integer | 80 | Max fixes |
Example request
Checkout form with missing labels and alt text
curl -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}'
Every result contains
inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.
MCP (Model Context Protocol)
- Streamable HTTP endpoint:
https://accessibilityfixer.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
accessibility_fixer - Local stdio connector:
node src/mcp-stdio.ts --tool=accessibility-fixer
{
"mcpServers": {
"accessibility-fixer": { "type": "http", "url": "https://accessibilityfixer.usefulweb.site/mcp" }
}
}