Lewati ke konten
TakoAPI
Kembali ke skill

axe-devtools

oleh dylanb

Web & Frontend Development
618Unduhan dilaporkan oleh clawskills.sh
0Tayangan
0 sukaMasuk untuk menyukai skill ini
—Belum ada penilaian
Penilaian Anda

Ringkasan

Accessibility testing and remediation using the axe MCP Server.

Deskripsi

Apa yang Dilakukan Skill Ini

Runs accessibility scans on live web pages using the axe DevTools MCP Server via Docker. Returns violations with rule IDs, impact levels, and affected selectors, then fetches AI-generated fix guidance per violation. Also applies static accessibility best practices when no live page is available.

Combines automated scanning and targeted remediation in one workflow, so developers get specific code fixes rather than just a list of rule names.

Kapan Menggunakannya

  • Scanning a locally running app for WCAG violations before a PR
  • Getting a code fix for a specific broken ARIA attribute
  • Verifying a form component has properly associated labels
  • Checking color contrast and heading hierarchy in a new page
  • Re-running a scan after fixes to confirm zero remaining violations

Contoh Alur Kerja

INPUT

User asks: check my localhost:3000 checkout form for accessibility issues

AGENT
  1. 1

    Run analyze against http://localhost:3000/checkout

  2. 2

    Parse violations from the JSON response, grouping by rule ID

  3. 3

    Call remediate for each unique violation with its ruleId, element HTML, and description

  4. 4

    Apply the returned code_fix patches to the source files

  5. 5

    Re-run analyze to confirm zero violations remain

OUTPUT

Checkout form passes axe scan with no violations; label associations, focus management, and contrast issues resolved

Persyaratan

  • AXE_API_KEY environment variable
  • Axe DevTools for Web paid subscription
  • Docker installed and running
  • dequesystems/axe-mcp-server:latest Docker image pulled

Instalasi

clawhub install dylanb/axe-devtools

Jalankan perintah CLI-nya, atau tempel prompt ke Claude Code, Cursor, Codex, atau coding agent apa pun yang Anda pakai.

Tautan