legal_put_accessibility
Configures a self-hosted WordPress accessibility panel: set launcher options, enable tools or markup repairs, and return stored settings without third-party requests.
Instructions
Configure the self-hosted accessibility tool (replaces the Ally widget; no third-party request, needs no consent). Merges: omitted keys keep their value. Switching enabled rewrites a generated Datenschutz (section Barrierefreiheits-Werkzeug). Returns the stored settings. Requires cvrt-legal 0.8.0+.
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": {
"site": "<site>"
},
"name": "legal_put_accessibility"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | Site id (see list_sites) | |
| color | No | Launcher colour, #rrggbb (default #1d4ed8) | |
| tools | No | Panel tool => on/off, merged (omitted tools keep their value). Keys: bigger-text, bigger-line-height, text-align, readable-font, grayscale, contrast, highlight-links, focus-outline, reading-mask, hide-images, pause-animations, page-structure, sitemap. All on by default except sitemap. See available_tools in legal_get_accessibility | |
| enabled | No | Show the accessibility panel (default off) | |
| repairs | No | Markup repair rule => on/off, merged (omitted rules keep their value; all off by default). cvrt-legal 0.9.0+. Keys: link-names, image-alt, iframe-title, form-labels, skip-link, lang, zoom, new-tab, duplicate-ids. Server-side, works with or without the panel, never invents or overwrites; duplicate-ids only reports. See available_repairs in legal_get_accessibility | |
| position | No | Launcher position, default bottom-right | |
| sitemap_url | No | https URL for the Sitemap tool; empty = /wp-sitemap.xml | |
| statement_url | No | https URL of an external statement; the page wins | |
| statement_page | No | Page id of the accessibility statement; 0 = none |