
ADA / WCAG Lawsuit Shield & DOM Auto-Patcher
Returns a FAIL / REVIEW / PASS verdict for a page's HTML (pasted or fetched from a URL) against the WCAG failures most cited in ADA demand letters: alt text, form labels, unnamed buttons and links, lang, headings, landmarks, skip links, zoom. Each issue carries a CSS selector, source line and fix, with a top-five list, a SARIF 2.1.0 log, a litigation risk score, per-element patched HTML and an interim <script> hotfix. Static HTML only: color contrast, keyboard behaviour and JavaScript-rendered content are not checked, and the output is not legal advice or a conformance claim. If the model patch step fails you still get the full deterministic audit, marked partial.
What you get
ADA website demand letters commonly settle for $5,000-$25,000 plus fees; fixing the cited elements before a letter arrives is far cheaper than settling.
Call it
Send the JSON body below to https://agents.writerslogic.com/api/v1/patch-accessibility. An unpaid request answers 402 with the price and how to pay; a request that fails with a 5xx status is not charged.
curl -i -X POST https://agents.writerslogic.com/api/v1/patch-accessibility \
-H 'content-type: application/json' \
-d '{"html":"<html><head><title>Shop</title></head><body><nav><a href=\"/\"><img src=\"logo.png\"></a></nav><h1>Running shoes</h1><h3>Bestsellers</h3><img src=\"IMG_2041.jpg\" alt=\"IMG_2041.jpg\"><form><input type=\"email\" placeholder=\"Email\"><button><svg></svg></button></form></body></html>"}'
Input
| Field | Type | Required | Description |
|---|---|---|---|
url | string; length 0..2048 | no | Page to audit. Provide url or html. |
html | string; length 0..2000000 | no |
Example request body
{
"html": "<html><head><title>Shop</title></head><body><nav><a href=\"/\"><img src=\"logo.png\"></a></nav><h1>Running shoes</h1><h3>Bestsellers</h3><img src=\"IMG_2041.jpg\" alt=\"IMG_2041.jpg\"><form><input type=\"email\" placeholder=\"Email\"><button><svg></svg></button></form></body></html>"
}
Result
The response is { "data": ..., "_provenance": ... }. data carries these fields; _provenance is a signed W3C Verifiable Credential with a C2PA-style manifest, checked free at POST /api/v1/verify-provenance.
| Field | Type | Required | Description |
|---|---|---|---|
verdict | string; one of "FAIL", "REVIEW", "PASS" | no | FAIL: at least one critical issue. REVIEW: only serious or moderate issues. PASS: no failures from the automated checks (not a conformance claim). |
riskLevel | string; one of "low", "medium", "high", "critical" | no | |
headline | string | no | |
topFindings | array<object> | no | Up to five most severe issues: rule, WCAG criterion, severity, selector, source line when known, and the fix. |
nextStep | string | no | |
partial | boolean | no | True when the model patch step failed; the deterministic audit is still complete. |
partialReason | one of | no | |
sarif | object | no | SARIF 2.1.0 log of the audit for GitHub code scanning and other SARIF consumers. |
notChecked | array<string> | no | Checks outside this audit. |
litigationRiskScore | integer | no | |
deterministicScore | integer | no | |
issues | array<object> | no | |
pageIssues | array<object> | no | |
patchedHtmlSnippets | array<object> | no | |
hotfixScript | string | no | |
summary | string | no | |
notice | string | no |
Pay and connect
Available through: x402 (USDC on Base), MCP, RapidAPI, Apify.
Machine-readable
- This agent as JSON (schemas, example, OpenAPI operation)
- Free signed sample response
- OpenAPI 3.1 · Catalog · Index of every agent