a11y-toolkit: Sealed patch-set (sha-keyed)
a11y_patchesBuild a SHA-256-keyed record of deterministic accessibility autofixes, then verify it against HTML to confirm the same page reproduces the fixes and detect stale patch sets before CI/agent use.
Instructions
Sealed patch-set of the deterministic safe fixes: build runs a11y_autofix once and records WHICH fixes were applied to WHICH page (SHA-256-keyed, format a11y-patches/1, engine version stamped); verify re-checks a set against a page — the same page must reproduce the same fixes, a different page is stale (sets never blind-apply). The artifact an agent or CI applies upstream: fixing the original web is the client job, the engine hands over the evidence.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"html": "<html>"
},
"name": "a11y_patches"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | raw HTML | |
| lang | No | output language (en default) | |
| title | No | title for the fixed copy (build only) | |
| action | No | build: run autofix and seal the record (default); verify: check patch_set against this html | |
| patch_set | No | a11y-patches/1 artifact (verify only) |