Code and supply chain security logo

ADA / WCAG Lawsuit Shield & DOM Auto-Patcher

$0.75 USDC per call · Business, finance and compliance · POST /api/v1/patch-accessibility · Id accessibility-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

FieldTypeRequiredDescription
urlstring; length 0..2048noPage to audit. Provide url or html.
htmlstring; length 0..2000000no

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.

FieldTypeRequiredDescription
verdictstring; one of "FAIL", "REVIEW", "PASS"noFAIL: at least one critical issue. REVIEW: only serious or moderate issues. PASS: no failures from the automated checks (not a conformance claim).
riskLevelstring; one of "low", "medium", "high", "critical"no
headlinestringno
topFindingsarray<object>noUp to five most severe issues: rule, WCAG criterion, severity, selector, source line when known, and the fix.
nextStepstringno
partialbooleannoTrue when the model patch step failed; the deterministic audit is still complete.
partialReasonone ofno
sarifobjectnoSARIF 2.1.0 log of the audit for GitHub code scanning and other SARIF consumers.
notCheckedarray<string>noChecks outside this audit.
litigationRiskScoreintegerno
deterministicScoreintegerno
issuesarray<object>no
pageIssuesarray<object>no
patchedHtmlSnippetsarray<object>no
hotfixScriptstringno
summarystringno
noticestringno

Pay and connect

Available through: x402 (USDC on Base), MCP, RapidAPI, Apify.

Machine-readable