playwright-scanner

playwright-scanner is a skill for Claude Code, Codex from Community-Access/accessibility-agents. It costs 18 tokens per session (863 once invoked), scanned A, original, MIT.

A read-only browser testing helper that uses Playwright to check how a live web page behaves for people using keyboards, different screen sizes, and accessibility tools.

In plain words
What is it for?
Use it to scan pages, menus, dialogs, tabs, and other interactive states for keyboard access, screen-reader structure, touch-target size, reflow, and contrast issues.
Why use it?
It finds accessibility problems that static code checks can miss, such as keyboard traps, broken responsive layouts, poor contrast, and hidden content states.

Skill for Claude CodeCodex

Written for Claude Code and Codex: disable-model-invocation in frontmatter, but also agents/openai.yaml present.

Part of the accessibility-agents plugin — 108 skills, 6 hooks shipped together

Good fit Use it to scan pages, menus, dialogs, tabs, and other interactive states for keyboard access, screen-reader structure, touch-target size, reflow, and contrast issues.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/community-access/accessibility-agents/playwright-scanner
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Community-Access/accessibility-agents --skill playwright-scanner
Clone the repo
git clone --depth 1 https://github.com/Community-Access/accessibility-agents

Made for: Claude Code, Codex.

Or install accessibility-agents, the plugin that ships this one along with the rest of its 108 skills, 6 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for playwright-scanner

README.md
[![agentmods](https://agentmods.dev/badge/skills/community-access/accessibility-agents/playwright-scanner/github.svg)](https://agentmods.dev/skills/community-access/accessibility-agents/playwright-scanner)
Your own site
<a href="https://agentmods.dev/skills/community-access/accessibility-agents/playwright-scanner"><img src="https://agentmods.dev/badge/skills/community-access/accessibility-agents/playwright-scanner/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for playwright-scanner

Your own site · 80×15
<a href="https://agentmods.dev/skills/community-access/accessibility-agents/playwright-scanner"><img src="https://agentmods.dev/badge/skills/community-access/accessibility-agents/playwright-scanner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 863 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00018 $0.00863
Opus 5.5 $0.00007 $0.00345
Sonnet 5.5 $0.00004 $0.00173
Haiku 4.5 $0.00002 $0.00086

Measured 29d ago against content hash dd5f62320b5e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

playwright-scanner scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 29d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/playwright-scanner/SKILL.md · 87 lines

How it starts

The opening of the file, as written. The whole thing — 87 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a behavioral accessibility scanner agent. You are a read-only agent — you never edit source files, configuration, or documentation. You are invoked internally by web-accessibility-wizard to run live browser-based accessibility tests.

Knowledge domains: Playwright Testing, Web Severity Scoring


Capabilities

1. Full Behavioral Scan

When invoked with a URL and scan profile, execute the following tests in order:

  1. Keyboard Flow Mapping — Call run_playwright_keyboard_scan to record the complete Tab sequence, detect keyboard traps, and identify unreachable interactive elements.

  2. Dynamic State Scanning — Call run_playwright_state_scan to click triggers (accordions, menus, modals, tabs) and run axe-core against each revealed state.

  3. Responsive Viewport Scanning — Call run_playwright_viewport_scan at widths [320, 768, 1024, 1440] to detect reflow failures, horizontal scroll, and undersized touch targets.

  4. Rendered Contrast Verification — Call run_playwright_contrast_scan to extract computed foreground/background colors and calculate contrast ratios after full CSS cascade resolution.

  5. Accessibility Tree Snapshot — Call run_playwright_a11y_tree to capture the browser's accessibility tree for landmark/heading/role/name verification.

2. Focus Management Tests

Combine keyboard and state scans for focused testing:

  • Click a modal trigger → verify activeElement moves to the modal
  • Close the modal → verify activeElement returns to the trigger
  • Navigate to a skip link → press Enter → verify focus moves to main content

3. Targeted Scans

When invoked with specific test parameters:

  • keyboard-only — Run only keyboard flow mapping
  • states-only — Run only dynamic state scanning
  • viewport-only — Run only responsive viewport scanning
  • contrast-only — Run only contrast verification
  • tree-only — Run only accessibility tree snapshot

Graceful Degradation

If Playwright is not installed:

Read the full file on GitHub · 87 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 29d ago Changed · +53 lines · -28 tokens per session dd5f62320b5e
  2. 1mo ago First seen · 34 lines · 46 tokens per session scan A 1077d93a696e

Subscribe to this mod's changes

playwright-scanner is a skill published in the GitHub repository Community-Access/accessibility-agents (428 stars, last pushed 28d ago), licensed MIT. It adds 18 tokens to every session and 863 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

a11y-ally

Use when running comprehensive WCAG accessibility audits with axe-core + pa11y + Lighthouse, generating context-aware remediation, or testing video accessibility. Supports 3-tier browser cascade with graceful degradation.

proffesor-for-testing/agentic-qe · 44 tokens

accessibility-testing

WCAG 2.2 compliance testing, screen reader validation, and inclusive design verification. Use when ensuring legal compliance (ADA, Section 508), testing for disabilities, or building accessible applications for 1 billion disabled users globally.

proffesor-for-testing/agentic-qe · 50 tokens

Accessibility Auditor

Comprehensive WCAG 2.1 AA compliance testing combining automated axe-core scans with manual keyboard navigation, screen reader compatibility, and focus management verification.

PramodDutta/qaskills · 32 tokens

a11y-audit

Runs automated accessibility scans with axe-core, pa11y, Lighthouse, or eslint-plugin-jsx-a11y. Interprets results, prioritizes violations, and generates fix recommendations. Use when asked to audit, scan, or check accessibility of a page, component, or codebase.

xrnavigation/web-a11y-plugin · 64 tokens

Accessibility A11y Enhanced

Comprehensive WCAG compliance and accessibility testing covering ARIA, keyboard navigation, screen readers, color contrast, and automated a11y validation.

PramodDutta/qaskills · 34 tokens

Axe-core Accessibility Testing

Accessibility testing skill using axe-core and Playwright for automated WCAG 2.1 compliance auditing, custom rules, and accessibility reporting.

PramodDutta/qaskills · 33 tokens