Collect evidence for judgment
collect_evidenceGathers screenshots, text, and context for WCAG success criteria that need human judgment. Use the evidence to review and submit accessibility audit decisions.
Instructions
Gathers material for success criteria that cannot be decided mechanically and need a look at the content. Supported criteria: 1.1.1, 1.3.2, 1.3.3, 1.4.5, 1.4.9, 1.4.11, 2.3.1, 2.4.2, 2.4.4, 2.4.6, 2.4.9, 2.5.1, 2.5.2, 3.1.1, 3.1.2, 3.3.1, 4.1.3. Each comes with the question to answer (question), the condition for failure (failWhen) and the material (evidence: images with their text alternatives, text in HTML order, link text with context, headings and labels, and so on). A full-page screenshot is returned as an image. Call it for criteria that audit_page marked needs_judgment, then run audit_page again with your decisions in judgments.
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": {
"url": "<url>"
},
"name": "collect_evidence"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL of the page to check (http, https or file). A dev server such as http://localhost:3000/ works too. | |
| waitMs | No | Extra time to wait after load, in milliseconds. | |
| criteria | No | Success criteria to gather material for. Omit to gather for every supported one. | |
| screenshot | No | Whether to attach a full-page screenshot. Default true. | |
| waitForSelector | No | After load, wait until an element matching this CSS selector appears. Use it to wait for an SPA to render. |