Trace the focus order
pour_focus_orderAudits a page's sequential keyboard focus order, listing every Tab-reachable control with role, name, CSS path, and positive tabindex values, plus native controls made unreachable by tabindex=-1.
Instructions
The sequential keyboard focus order of a page, as the Tab key visits it: every reachable control in order with its tag, role, accessible name (the engine's own computation) and CSS path. Controls with a positive tabindex come first and carry the value, since it forces their position. "unreachable" lists native controls a tabindex of -1 has taken out of the keyboard's reach. The same walk as the Focus Order lens in the pour extension. Results depend on the page state: the viewport width (responsive pages serve different content per breakpoint), whether the page was scrolled first (lazy content), and what is open on it. Say which you used when you report a figure.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "pour_focus_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | The page to load, http or https only. A local dev server is fine (http://localhost:8080/). Without a scheme, https is tried first, then http. For a file on disk use path instead: file:// URLs are refused. | |
| path | No | A file on disk to check instead of a URL, relative to the folder the server was started in. It is served over http from its own folder, so relative assets load. Give one of url or path, not both. | |
| root | No | With path: the folder to serve as the site root, for a page whose assets are addressed from the root (/styles.css) rather than from its own folder. Defaults to the file's own folder. | |
| scroll | No | Scroll through the page first so lazy-loaded content is in the DOM. Changes the numbers, by design. Default false. | |
| waitMs | No | Extra settle time after the page loads, in milliseconds. Default 0. | |
| insecure | No | Ignore TLS certificate errors, for a dev server with a self-signed certificate. Default false. | |
| viewport | No | Viewport as WxH. Default 1440x900. Responsive pages serve different content per width, so the width is part of the result. | |
| timeoutMs | No | Navigation timeout in milliseconds. Default 30000. |