Skip to main content
Glama

Walk the page the way a keyboard user does — Tab by Tab

qa_focus_walk

Presses Tab through a page to record the actual keyboard focus trail, then reports unreachable controls, suspected focus traps, and broken tab order against the accessibility tree.

Instructions

The keyboard route as ONE call: presses Tab repeatedly and records where focus actually lands, then compares that trail against the interactive elements the accessibility tree claims. This is the accessibility question a click can never answer — Qiksy clicks teleport to an element, a keyboard user has to REACH it. Reports: the focus trail; interactive elements that never got focus (the div-button a Tab user can never reach); a suspected focus TRAP when the same short cycle of names repeats without the walk closing; and order-vs-geometry suspects — consecutive stops where focus jumps far UP the page, the classic broken tab order. Honest limits, stated because this tool feeds audits: matching is by accessible NAME (the press reply carries no ref), so duplicate names can mask a missed element; focus VISIBILITY is not judged here (that is qa_styles on a stop that interests you); and the walk changes the page's focus for real, so run it before filling, not mid-form. Requires the one-time “Agent control” confirmation in the panel; without it the extension answers consent-required and does nothing.

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": "qa_focus_walk"
  }
}

Input Schema

NameRequiredDescriptionDefault
sheetNoAlso DRAW the route: write a PNG here with a numbered pin at every stop and a line between consecutive ones. A tab order that zigzags across the page is an argument nobody wins with a table of names — it is obvious in one picture, and that is what gets shown to the person who has to fix it.
tabIdNoTarget tab (from qa_tabs); omit for the active tab
maxStepsNoTab presses before giving up (default 80). A page that does not close its cycle within this is reported, not guessed at.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.86.2

TDQS

A4.4/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden and covers it: the exact report contents (trail, unreached elements, suspected trap, order-vs-geometry suspects), the consent-required failure mode, and the side effect that the walk really moves focus on the page. It even discloses a matching limitation (name-based, duplicate names can mask a miss) that matters for audit trust.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core mechanism before the report list, then limits, then prerequisites — a sensible ordering. It is dense and long, with a few rhetorical lines ('the accessibility question a click can never answer') that add motivation but not operational information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, yet the description enumerates what comes back and flags the prerequisite gate, the side effect, and the known false-negative case. For a multi-step, state-changing accessibility probe, an agent has everything needed to call it safely and interpret the result.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so sheet, tabId and maxSteps are fully documented in the schema already; the description adds nothing parameter-specific. Baseline 3 is appropriate since the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a concrete verb and mechanism ('presses Tab repeatedly and records where focus actually lands') plus the comparison it performs against the accessibility tree. It also distinguishes itself from click-based tooling ('Qiksy clicks teleport to an element, a keyboard user has to REACH it'), so an agent knows this is reachability, not interaction.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives real sequencing guidance — 'run it before filling, not mid-form' — and routes focus-visibility questions to qa_styles. What it does not do is distinguish this from the single-step siblings (qa_focus_tab, qa_focus_proof), leaving the agent to infer which focus tool to pick.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.