a11y-toolkit: Applicability scope (semi-automatic)
a11y_scopeProposes accessibility applicability exclusions from audit evidence, then requires human confirmation before confirmed exclusions become not-applicable in conformance reports.
Instructions
Semi-automatic applicability scoping — the layer between the audit and the conformance claim (the pattern of the Government of Canada CIO wizard for EN 301 549, informed by the audit instead of 118 hand-answered questions). Reads the features block of the reports (media elements, form controls — positive evidence of what the audit SAW) and proposes the structural exclusions: no video anywhere → 1.2.x proposed-excluded, no form controls → 3.3.x proposed-excluded. The machine PROPOSES, the human CONFIRMS via answers {"1.2.4": {"status": "excluded", "reason": "…"}} — only confirmed exclusions may become not-applicable downstream (a11y_evidence, a11y_generate_vpat, a11y_generate_openacr); a proposal never excludes. standard=en301549 adds the EN 301 549 V4.1.1 (2026) clause to every row (9.x web / 10.x documents / 11.x software — numbering verified 55/55 A/AA) and the EN-only families (5, 6, 7, 8, 12, 13) as honest applicability rows this toolkit does not evaluate. Live counter: N of 55 criteria in scope. — The applicability layer before conformance: run after the audits, confirm the machine proposals via answers, then feed the scope here — a11y_evidence/vpat/openacr turn confirmed exclusions into not-applicable with their reason. Returns JSON: {format: a11y-scope/1, standard, target, criteria [{criterion, level, status, clause?, evidence?, reason?}], counters, en301549_families?, sha256} — statuses in-scope|proposed-excluded|excluded; only human-confirmed exclusions count downstream. Run after the audits, before any conformance artifact: confirm the machine proposals via answers, then pass the scope to a11y_evidence — only human-confirmed exclusions become not-applicable, and each exclusion carries its reason.
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": {
"reports": "<reports>"
},
"name": "a11y_scope"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | output language (en default) | |
| target | No | ICT target: web=9.x clauses (default), documents=10.x, software=11.x | |
| answers | No | human confirmations keyed by criterion code: status in-scope|proposed-excluded|excluded | |
| reports | Yes | audit report objects (any mode; reports carrying the features block power the machine proposals) | |
| targets | No | combined scope across ICT targets (like GSA ART multi-item); rows carry a clauses dict per target | |
| standard | No | wcag22 (default), en301549 (clause refs + EN families) or rgaa (French 106-criterion checklist) |