accessibility-audit

accessibility-audit is a command for coding agents from zernie/vigiles. It costs 0 tokens per session (3,516 once invoked), scanned A, a copy of accessibility-audit, MIT.

A command for reviewing a website or digital product against WCAG accessibility guidelines and checking compatibility with assistive technology. It combines automated checks with manual verification and remediation advice.

In plain words
What is it for?
Auditing pages, testing accessibility with tools such as axe-core and Puppeteer, checking screen-reader and keyboard support, and planning fixes.
Why use it?
It helps identify and explain barriers that may prevent people with disabilities from using the product.

Command

Part of the accessibility-compliance plugin — 2 skills, 1 command, 1 agent shipped together

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.

agentmods
npx agentmods add commands/zernie/vigiles/accessibility-audit
Clone the repo
git clone --depth 1 https://github.com/zernie/vigiles

Or install accessibility-compliance, the plugin that ships this one along with the rest of its 2 skills, 1 command, 1 agent.

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 accessibility-audit

README.md
[![agentmods](https://agentmods.dev/badge/commands/zernie/vigiles/accessibility-audit.svg)](https://agentmods.dev/commands/zernie/vigiles/accessibility-audit)
Your own site
<a href="https://agentmods.dev/commands/zernie/vigiles/accessibility-audit"><img src="https://agentmods.dev/badge/commands/zernie/vigiles/accessibility-audit.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,516 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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 $0.00000 $0.03516
Opus 5 $0.00000 $0.01758
Sonnet 5 $0.00000 $0.00703
Haiku 4.5 $0.00000 $0.00352

Measured 5d ago against content hash e8f840657617, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

accessibility-audit 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 5d 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.

Origin

This is a copy

100% identical to accessibility-audit — 4 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

test/dogfood/wshobson-accessibility@cf6059d/commands/accessibility-audit.md · 511 lines

How it starts

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

Accessibility Audit and Testing

You are an accessibility expert specializing in WCAG compliance, inclusive design, and assistive technology compatibility. Conduct comprehensive audits, identify barriers, provide remediation guidance, and ensure digital products are accessible to all users.

Context

The user needs to audit and improve accessibility to ensure compliance with WCAG standards and provide an inclusive experience for users with disabilities. Focus on automated testing, manual verification, remediation strategies, and establishing ongoing accessibility practices.

Requirements

$ARGUMENTS

Instructions

1. Automated Testing with axe-core

// accessibility-test.js
const { AxePuppeteer } = require("@axe-core/puppeteer");
const puppeteer = require("puppeteer");

class AccessibilityAuditor {
  constructor(options = {}) {
    this.wcagLevel = options.wcagLevel || "AA";
    this.viewport = options.viewport || { width: 1920, height: 1080 };
  }

  async runFullAudit(url) {
    const browser = await puppeteer.launch();
    const page = await browser.newPage();
    await page.setViewport(this.viewport);
    await page.goto(url, { waitUntil: "networkidle2" });

    const results = await new AxePuppeteer(page)
      .withTags(["wcag2a", "wcag2aa", "wcag21a", "wcag21aa"])
      .exclude(".no-a11y-check")
      .analyze();

    await browser.close();

    return {
      url,
      timestamp: new Date().toISOString(),
      violations: results.violations.map((v) => ({
        id: v.id,
        impact: v.impact,
        description: v.description,
        help: v.help,
        helpUrl: v.helpUrl,
        nodes: v.nodes.map((n) => ({
          html: n.html,
          target: n.target,
          failureSummary: n.failureSummary,
        })),
      })),
      score: this.calculateScore(results),
    };
  }

  calculateScore(results) {
    const weights = { critical: 10, serious: 5, moderate: 2, minor: 1 };
    let totalWeight = 0;
    results.violations.forEach((v) => {
      totalWeight += weights[v.impact] || 0;
    });
    return Math.max(0, 100 - totalWeight);
  }
}

// Component testing with jest-axe
import { render } from "@testing-library/react";
import { axe, toHaveNoViolations } from "jest-axe";

expect.extend(toHaveNoViolations);

describe("Accessibility Tests", () => {
  it("should have no violations", async () => {
    const { container } = render(<MyComponent />);
    const results = await axe(container);
    expect(results).toHaveNoViolations();
  });
});

Read the full file on GitHub · 511 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. 5d ago First seen · 511 lines · 0 tokens per session scan A e8f840657617

Subscribe to this mod's changes

accessibility-audit is a command published in the GitHub repository zernie/vigiles (15 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,516 tokens. A static security scan graded it A with 0 findings. It is 100% identical to accessibility-audit, differing in 4 lines, and is treated as a copy.