Validation
Detect common WCAG 2.1 accessibility issues in HTML, fetched pages, or design images and return fix-ready guidance
Call this tool from your code in three languages.
# 1) Upload each file first → returns { filePath }
curl -X POST 'https://api.elysiatools.com/upload/accessibility-checker' \
-F 'file=@/path/to/designImage.ext'
# 2) Call the tool with the returned filePath values
curl -X POST 'https://api.elysiatools.com/en/api/tools/accessibility-checker' \
-F 'htmlInput=<img src="/hero.png"><a href="/pricing"><svg></svg></a><button><svg></svg></button><input type="email" />' \
-F 'pageUrl=https://example.com' \
-F 'designImage=/path/to/file.ext' \
-F 'wcagLevel=AA'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/accessibility-checker| Name | Type | Required | Description |
|---|---|---|---|
| htmlInput | textarea | No | — |
| pageUrl | text | No | — |
| designImage | fileupload required | No | — |
| wcagLevel | select | No | — |
HTML result
{
"result": "<div>Processed HTML content</div>",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-accessibility-checker": {
"name": "accessibility-checker",
"description": "Detect common WCAG 2.1 accessibility issues in HTML, fetched pages, or design images and return fix-ready guidance",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=accessibility-checker",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "accessibility-checker",
"arguments": {
"htmlInput": "<img src=\"/hero.png\"><a href=\"/pricing\"><svg></svg></a><button><svg></svg></button><input type=\"email\" />",
"pageUrl": "https://example.com",
"designImage": "https://example.com/file.ext",
"wcagLevel": "AA"
}
}
}Questions or issues? Contact [email protected]