a11y-toolkit: Hover dismissibility (1.4.13)
a11y_hoverTests hover/focus tooltips and overlays to verify Escape dismisses them, flagging WCAG 1.4.13 failures. Requires local Playwright; returns candidates and findings.
Instructions
Content on Hover or Focus (1.4.13): finds tooltip/overlay candidates, hovers each, and tests whether Escape dismisses the result — tooltips that do not dismiss are flagged. Requires local Playwright. — Scope: tooltips only; full audit is a11y_audit_dom, keyboard traps are a11y_keyboard. Returns JSON: {candidates, dismissed_on_escape, findings}.
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_hover"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Page URL to test | |
| lang | No | Output language (en default) | |
| 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 |