a11y-toolkit: Screen reader transcript
a11y_sr_transcriptTranscribe what a screen reader announces on a page, returning the linear reading order of roles, names and states so agents can review a page from a blind user's perspective.
Instructions
Screen reader TRANSCRIPT: what a blind user HEARS on this page. Walks the accessibility tree linearly and returns the announcement text with roles, names and states — the linearized reading experience, as 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 |