a11y-axe-playwright

a11y-axe-playwright is a skill for Claude Code, Codex from AmadeusITGroup/otter. It costs 40 tokens per session (966 once invoked), scanned A, original, BSD-3-Clause.

A guide for writing Playwright browser tests that use axe-core, a tool for finding common web accessibility problems.

In plain words
What is it for?
Use it to set up axe scans, choose WCAG rules, limit scans to a component, scan full pages, and check states such as form submissions, dialogs, navigation, and dynamic content.
Why use it?
It helps test pages and components consistently, while avoiding noisy scans and missed problems during important interface changes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to set up axe scans, choose WCAG rules, limit scans to a component, scan full pages, and check states such as form submissions, dialogs, navigation, and dynamic content.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/amadeusitgroup/otter/a11y-axe-playwright
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 AmadeusITGroup/otter --skill a11y-axe-playwright
Clone the repo
git clone --depth 1 https://github.com/AmadeusITGroup/otter

Made for: Claude Code, Codex.

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 a11y-axe-playwright

README.md
[![agentmods](https://agentmods.dev/badge/skills/amadeusitgroup/otter/a11y-axe-playwright/github.svg)](https://agentmods.dev/skills/amadeusitgroup/otter/a11y-axe-playwright)
Your own site
<a href="https://agentmods.dev/skills/amadeusitgroup/otter/a11y-axe-playwright"><img src="https://agentmods.dev/badge/skills/amadeusitgroup/otter/a11y-axe-playwright/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 a11y-axe-playwright

Your own site · 80×15
<a href="https://agentmods.dev/skills/amadeusitgroup/otter/a11y-axe-playwright"><img src="https://agentmods.dev/badge/skills/amadeusitgroup/otter/a11y-axe-playwright.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 966 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 121
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
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.00040 $0.00966
Opus 5.5 $0.00016 $0.00386
Sonnet 5.5 $0.00008 $0.00193
Haiku 4.5 $0.00004 $0.00097

Measured 1mo ago against content hash 817e5a015a8b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

a11y-axe-playwright 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 1mo 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.

tools/llm/plugins/a11y/skills/a11y-axe-playwright/SKILL.md · 133 lines

How it starts

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

Skill: Axe Scans with Playwright

Setup

Install the dependency:

yarn add -D @axe-core/playwright

Import in test files:

import AxeBuilder from '@axe-core/playwright';

Tag Selection

Scenario Tags
Existing component or page ['wcag2a', 'wcag2aa', 'wcag21aa']
New component (WCAG 2.2) ['wcag2a', 'wcag2aa', 'wcag21aa', 'wcag22aa']

Never omit tags — an untagged scan runs all rules including experimental ones and produces noise.

Scoping

Always scope scans to the component under test using .include(). Avoid scanning the full page when testing a single component.

const results = await new AxeBuilder({ page })
  .include('#my-component-selector')
  .withTags(['wcag2a', 'wcag2aa', 'wcag21aa'])
  .analyze();

For full page audits, omit .include():

const results = await new AxeBuilder({ page })
  .withTags(['wcag2a', 'wcag2aa', 'wcag21aa'])
  .analyze();

When to Run Axe Scans

Run an axe scan at each significant page state transition:

  • Initial page load
  • After form submission
  • After navigation to a new page/view
  • After modal/dialog opens
  • After dynamic content loads (search results, filtered lists)

Test Pattern

import { test, expect } from '@playwright/test';
import AxeBuilder from '@axe-core/playwright';

test.describe('MyComponent accessibility @a11y', () => {
  test('should have no WCAG 2.1 AA violations', async ({ page }) => {
    await page.goto('/my-component-route');

    const results = await new AxeBuilder({ page })
      .include('#my-component-selector')
      .withTags(['wcag2a', 'wcag2aa', 'wcag21aa'])
      .analyze();

    expect(results.violations).toEqual([]);
  });
});

Interpreting Violations

Each violation in results.violations contains:

  • id — axe rule id (e.g. color-contrast, label, aria-required-attr)
  • impact — critical, serious, moderate, or minor
  • description — what the rule checks
  • nodes — list of affected elements with html snippet and failureSummary

Read the full file on GitHub · 133 lines

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. 1mo ago First seen · 133 lines · 40 tokens per session scan A 817e5a015a8b

Subscribe to this mod's changes

a11y-axe-playwright is a skill published in the GitHub repository AmadeusITGroup/otter (59 stars, last pushed today), licensed BSD-3-Clause. It adds 40 tokens to every session and 966 once invoked, about $0.0002 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-08-30.

Related

Other skills, from other repositories

agent-upkeep

Perform one small, scoped maintenance improvement to the Elements monorepo and open a single reviewable pull request. Use this skill for scheduled or unattended upkeep runs that improve unit test coverage for one file, fix one behavioral bug in one module, or move one off ESLint rule toward enforcement to reduce…

NVIDIA/elements · 115 tokens

agent-dependencies

Perform one conservative dependency or toolchain upgrade in the Elements monorepo and open a validated pull request. Use for nightly or unattended dependency maintenance, outdated package checks, first-party actions/ GitHub Actions updates, and pinned mise tool updates. Use the github-dependabot skill instead when the…

NVIDIA/elements · 73 tokens

elements

Use this skill by default for any UI-related work or with NVIDIA Elements (nve-), including creating, editing, reviewing, or debugging HTML, CSS, layout, theming, components, applications, prototypes, Claude Artifacts, Codex Sites pages, and standalone UI artifacts.

NVIDIA/elements · 59 tokens

agent-debug-ci

Investigate failed scheduled or nightly GitHub Actions runs on the default branch, determine whether the failure is reproducible and repository-owned, implement the smallest evidence-backed fix, validate it, and open a pull request. Use when a failed nightly CI event starts an agent, or when the standard CI or…

NVIDIA/elements · 80 tokens

audit-ci

Run and analyze Elements cold CI performance profiles and propose evidence-backed build, test, lint, and dependency-graph improvements. Use whenever asked to profile or benchmark pnpm run ci, rerun ci:profile, create a CI performance audit, compare CI timings, find bottlenecks or the completion path, investigate a CI…

NVIDIA/elements · 78 tokens

authoring-patterns

Convert validated playground templates or HTML compositions into reusable pattern files (.examples.ts) in the pattern library. Use this skill whenever the user wants to save, persist, store, or catalog a template, prototype, composition, or playground result as a reusable pattern. Trigger on phrases like "save as…

NVIDIA/elements · 106 tokens