get_accessibility_score
Calculate a 0-100 accessibility score from audit results, offering detailed category and WCAG breakdowns. Optionally accepts a URL to run an audit and supports custom issue weights.
Instructions
Calculate accessibility score (0-100) from audit results with detailed breakdowns by category and WCAG compliance levels. Supports custom weights for different issue types.
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": {
"results": "<results>"
},
"name": "get_accessibility_score"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes | Audit results object or URL string. If URL is provided, an audit will be run first. | |
| weights | No | Custom weights for different issue types (e.g., {"critical": 5.0, "serious": 3.0}). If not provided, default weights are used. |