test_html_string
Analyze HTML content for accessibility compliance with WCAG standards using the Axe-core API. Input HTML strings and optional tags to test for specific accessibility issues.
Instructions
Test an HTML string for accessibility issues
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": "test_html_string"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | HTML content to test | |
| tags | No | Optional array of accessibility tags to test (e.g., "wcag2a", "wcag2aa", "wcag21a") |