a11y-toolkit: Screen reader transcript
a11y_sr_transcriptGenerate a screen reader transcript of a page to see what a blind user hears in reading order, returning linearized announcements as strings for accessibility review.
Instructions
Screen reader TRANSCRIPT: what a blind user HEARS on this page. Walks the accessibility tree linearly and returns announcements as a LIST OF STRINGS (the linearized reading order — roles and names embedded in the text, e.g. "button "Search"") plus arbol_raw, the raw accessibility-tree snapshot it was read from (external review round 6: the contract published objects with time/politeneness/role/text — the real shape was strings; the contract now matches reality and existing clients keep working). Prose an agent can READ to understand the page from a blind user's perspective. — Read-only: for structure use a11y_snapshot, for keyboard traps use a11y_keyboard. Requires Playwright. Returns JSON: {url, total, announcements [{time, politeness, role, text}] — the linearized reading order}.
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": "a11y_sr_transcript"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Page URL to transcribe | |
| lang | No | Output language (en default) | |
| browser | No | Browser engine (auto = detect the first available) | |
| timeout | No | Page load timeout (45 default) | |
| auth_state | No | Path to a Playwright storage_state JSON (exported session) to audit behind login — stays local |