[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M784G20PMVPK110F2XCAGJV1":3,"skill-same:01M784G20PMVPK110F2XCAGJV1":54},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":31,"commitSha":32,"skillDirectory":33,"forksCount":34,"repositoryHtmlUrl":35,"repositoryHomepageUrl":36,"ownerHtmlUrl":37,"ownerBlogUrl":6,"ownerDescription":38,"updatedAt":39,"install":40,"resources":53},"01M784G20PMVPK110F2XCAGJV1","a11y-audit",null,"Run accessibility audits on web projects combining automated scanning (axe-core, Lighthouse) with WCAG 2.1 AA compliance mapping, manual check guidance, and structured reporting. Output is configurable: markdown report only, markdown plus machine-readable JSON, or markdown plus issue tracker integration. Use this skill whenever the user mentions \"accessibility audit\", \"a11y audit\", \"WCAG audit\", \"accessibility check\", \"compliance scan\", or asks to check a web project for accessibility issues. Also trigger when the user wants to verify WCAG conformance or map findings to a specific standard (CAN-ASC-6.2, EN 301 549, ADA\u002FAODA).","Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fskills_sh\u002Fs\u002Fskills-sh_snapsynapse_skill-a11y-audit_a11y-audit\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: a11y-audit\ndescription: >\n  Run accessibility audits on web projects combining automated scanning\n  (axe-core, Lighthouse) with WCAG 2.1 AA compliance mapping, manual check\n  guidance, and structured reporting. Output is configurable: markdown\n  report only, markdown plus machine-readable JSON, or markdown plus issue\n  tracker integration. Use this skill whenever the user mentions\n  \"accessibility audit\", \"a11y audit\", \"WCAG audit\", \"accessibility check\",\n  \"compliance scan\", or asks to check a web project for accessibility\n  issues. Also trigger when the user wants to verify WCAG conformance or\n  map findings to a specific standard (CAN-ASC-6.2, EN 301 549, ADA\u002FAODA).\nmetadata:\n  skill_bundle: a11y-audit\n  file_role: skill\n  version: 14\n  version_date: 2026-05-31\n  previous_version: 13\n  change_summary: >\n    Documented same-origin discovery defaults, cross-origin sitemap\n    opt-in, and fixed Puppeteer-only scanner dependency behavior.\n---\n\n# Accessibility Audit\n\n## Architecture\n\nThis skill operates as a single layer. It reads the project environment,\nruns automated accessibility tools, maps findings to compliance standards,\nand produces output in a configurable format. No external skill dependency\nis required.\n\nStore project-specific audit state in the target workspace, not in the\ninstalled skill directory. Default path:\n`.a11y-audit\u002FPROJECT_CONTEXT.md` at the workspace root. When that file\nexists, use it for project-specific configuration: output mode,\nadditional compliance standards, issue tracker settings, route lists,\ncolor palettes, and cross-references to existing documentation. When\nabsent, use WCAG 2.1 AA as the sole standard, `markdown` as the output\nmode, and generic defaults for everything else.\n\nUse `references\u002Fproject-context-template.md` as the canonical schema for\nthat file, including minimal and `markdown+issues` examples.\n\nPrefer bundled helpers over ad hoc generation when they fit:\n\n- `scripts\u002Fbootstrap-context.js` creates a workspace-local\n  `.a11y-audit\u002FPROJECT_CONTEXT.md` from simple inputs.\n- `scripts\u002Fscan.js` runs reusable axe-based scans and records optional\n  Lighthouse execution intent. Use `--summary` to reduce output size\n  (keeps full violation detail, strips node data from passes\u002Finapplicable).\n- `scripts\u002Freport.js` generates the markdown report and JSON data file\n  from scan.js output. Handles WCAG compliance matrix, violation\n  aggregation, and color-contrast detail extraction deterministically.\n- `scripts\u002Fdiscover.js` identifies template groups on large sites and\n  selects representative pages for scanning. Reads sitemap.xml first,\n  falls back to HTML navigation crawl. Outputs a scan plan with\n  template groups and a ready-to-use URL list for scan.js. Discovery is\n  same-origin by default; use `--allow-cross-origin-sitemaps` only after\n  the user approves sitemap-declared cross-origin targets.\n\n### Dependencies\n\nscan.js requires `axe-core` and `puppeteer`. It resolves these in order:\n\n1. **Skill-local** `deps\u002F` directory (sibling to `scripts\u002F`)\n2. **Target project** `node_modules\u002F` (and common workspace subdirs)\n3. **Global** npm modules\n\nIf not found anywhere, scan.js **auto-installs** both packages to the\nskill-local `deps\u002F` directory. This means the skill works against any\nproject without requiring the target to have accessibility tooling\ninstalled. The `deps\u002F` directory is gitignored.\n\nBecause `scan.js` may auto-install missing dependencies, agents should\nask before invoking scan.js when the target workspace does not already\nprovide `axe-core` and the chosen browser automation package.\n\nThe bundled scanner supports Puppeteer only. Treat `--browser` as a\nfixed option, not a user-controlled package installer.\n\n### Platform-Specific References\n\n- If running in Claude Code, read `references\u002Fclaude-code.md` for\n  `.claude\u002Flaunch.json` handling and Preview tool usage.\n- If running in Codex, read `references\u002Fcodex.md` for workspace-local\n  state handling and execution assumptions.\n- `references\u002Foutput-contract.md` and `references\u002Foutput-schema.json`\n  are encoded in `scripts\u002Freport.js`. Read them only when modifying the\n  report script.\n- Read `references\u002Fissue-trackers.md` only when `output_mode` is\n  `markdown+issues`.\n- If the user wants to operationalize recurring audits in CI, start from\n  `assets\u002Fci\u002Fgithub-actions\u002Faccessibility-audit.yml`.\n- Prefer `scripts\u002Fplan-issues.js` before live ticket creation when you\n  need a safe review and deduplication pass.\n\n**The skill does not modify source code.** It is an auditor, not a fixer.\nFindings are reported with remediation guidance; the user decides what to\nact on.\n\n### Output Modes\n\nThe skill supports three output modes, configured via the `output_mode`\nfield in `.a11y-audit\u002FPROJECT_CONTEXT.md`:\n\n| Mode | Output | Use Case |\n|------|--------|----------|\n| `markdown` | Markdown report only | Human review, documentation |\n| `markdown+json` | Markdown report + JSON data file | CI integration, dashboards, trend tracking |\n| `markdown+issues` | Markdown report + issue tracker tickets | Active remediation workflow |\n\nOn first run, if no `output_mode` is set in\n`.a11y-audit\u002FPROJECT_CONTEXT.md`, ask the user which mode they prefer\nand persist their choice by appending an `## Output Configuration`\nsection to that file. If no context file exists, create it at the\ndefault path following `references\u002Fproject-context-template.md`. Prefer\n`scripts\u002Fbootstrap-context.js` for first-run context creation when a\nsimple generated file is sufficient.\n\nThe `markdown+json` mode writes a companion file alongside the report:\n`audit-YYYY-MM-DD.json` containing the raw axe-core results, Lighthouse\nscores, and the compliance matrix as structured data. This file is\nmachine-readable and can be consumed by CI pipelines, dashboards, or\ntrend-tracking tools.\n\nThe `markdown+issues` mode requires additional configuration in the\ncontext file (see Phase 6).\n\n---\n\n## Pipeline\n\nAn accessibility audit moves through six phases. Each phase produces data\nthe next phase consumes. Phases 1-4 always run. Phase 5 produces output\nbased on the configured output mode. Phase 6 runs only in\n`markdown+issues` mode and requires explicit user confirmation.\n\nThe user can request a partial run. Common patterns:\n- \"Quick scan\": Phases 1-2 only, results summarized in conversation\n- \"Full audit\": Phases 1-5, output per configured mode\n- \"Audit with issues\": Phases 1-6, report plus tracker tickets\n\n### Phase 1 -- Environment Discovery\n\n**Purpose:** Understand the project before scanning.\n\n1. Read `.a11y-audit\u002FPROJECT_CONTEXT.md` if it exists (standards, routes,\n   output mode, labels). If absent, create it via\n   `scripts\u002Fbootstrap-context.js` or from\n   `references\u002Fproject-context-template.md`.\n2. Read `package.json` for tech stack, existing a11y tooling, and\n   available browser automation (`puppeteer` \u002F `playwright`).\n3. Build a scannable URL list from router config or HTML file glob.\n   For sites with many pages (>15 routes), prefer `scripts\u002Fdiscover.js`\n   to classify pages into template groups and select representatives.\n   Review the scan plan with the user before proceeding to Phase 2.\n4. Confirm a dev server is reachable. Check `.claude\u002Flaunch.json` and\n   platform-specific references for launch hints. If the app starts on a\n   different URL than expected, switch to the live URL, record the\n   mismatch, and update the context file.\n5. Ask before installing any missing dependencies.\n\n**Output:** Structured summary reported to the user before proceeding.\n\n### Phase 2 -- Automated Scanning\n\n**Purpose:** Run automated accessibility checks against live pages.\n\n**Prerequisite:** A running dev server (or production URL provided by\nthe user).\n\n#### axe-core Scanning\n\nPrefer the bundled `scripts\u002Fscan.js` before writing a throwaway scan\nscript. Use an ad hoc script only when the workspace needs behavior that\nthe bundled script does not yet support.\n\nThe reusable scanner should:\n\n1. Imports `puppeteer` and `axe-core`\n2. Launches a headless browser\n3. For each target URL:\n   a. Navigates to the page\n   b. Waits for network idle (`waitUntil: 'networkidle0'`)\n   c. Injects axe-core: reads the axe-core source file from\n      `node_modules\u002Faxe-core\u002Faxe.min.js` and injects it via\n      `page.evaluate()`\n   d. Runs the audit: `page.evaluate(() => axe.run())`\n   e. Collects the results JSON\n4. Closes the browser\n5. Writes raw results to JSON\n\nExample invocation:\n\n```bash\nnode a11y-audit\u002Fscripts\u002Fscan.js \\\n  --root . \\\n  --urls http:\u002F\u002F127.0.0.1:3000\u002F,http:\u002F\u002F127.0.0.1:3000\u002Fabout \\\n  --output \u002Ftmp\u002Fa11y-scan.json \\\n  --summary\n```\n\n**Adapt to the project.** If dependencies live in a frontend\nsubdirectory, point `--root` at the workspace root; the bundled script\nalready checks common frontend paths. If that still fails, fall back to\nan ad hoc script or run from the frontend directory directly.\n\n**Common mistake:** Do not use `require()` in an ES module project. Check\n`package.json` for `\"type\": \"module\"`. If present, use `import` syntax\nand the `__dirname` workaround in any ad hoc script. If absent,\n`require()` is fine.\n\n**Playwright alternative:** If the project uses Playwright instead of\nPuppeteer, adapt the script: replace `puppeteer.launch()` with\n`chromium.launch()`, use `page.goto()` the same way, and inject\naxe-core via `page.evaluate()`. The axe-core injection pattern is\nidentical. Use whichever browser automation library the project already\nhas installed.\n\n#### Lighthouse Scanning\n\nRun Lighthouse CLI against each target URL:\n\n```bash\nnpx lighthouse \u003Curl> \\\n  --output=json \\\n  --output-path=stdout \\\n  --only-categories=accessibility \\\n  --chrome-flags=\"--headless --no-sandbox\" \\\n  --quiet\n```\n\nParse the JSON output. Extract:\n- `categories.accessibility.score` (0-1, multiply by 100)\n- `audits` where `score !== 1` (failed or partial audits)\n- Each audit's `description` and `details.items`\n\nIf Lighthouse is unavailable or fails (common in CI environments), skip\nit and note the gap in the report. In the executive summary and\nmethodology, explicitly say whether Lighthouse was skipped because the\nCLI was missing, Chrome launch failed, or another runtime error\noccurred. axe-core results alone are sufficient for a valid audit.\n\n#### Scope Control\n\n- Default: scan routes discovered in Phase 1\n- If a discover.js scan plan exists, use its `scanList` for `--urls`.\n  The report methodology will record the sampling strategy.\n- If more than 10 routes exist and no discover plan is available, ask\n  the user which to scan or whether to scan all\n- The user can provide a specific URL list to override discovery\n- For SPAs: navigate via the router, not by reloading the page (some\n  routes may not work as direct URLs)\n\n#### Result Structure\n\nFor each page, collect:\n- `url`: the scanned URL\n- `violations`: array of axe violations, each with `id`, `impact`\n  (critical\u002Fserious\u002Fmoderate\u002Fminor), `description`, `help`, `helpUrl`,\n  `tags` (WCAG criteria), `nodes` (affected elements with selectors)\n- `passes`: count of passing rules\n- `incomplete`: rules that could not be fully evaluated\n- `lighthouseScore`: 0-100 (if available)\n- `lighthouseAudits`: failed audit details (if available)\n\n### Phase 3 -- Compliance Mapping\n\n**Purpose:** Map automated findings to WCAG 2.1 AA success criteria and\nany project-specific standards.\n\n`scripts\u002Freport.js` handles the compliance matrix deterministically. It\nhardcodes all 50 WCAG 2.1 Level A and AA criteria, maps axe tags to\nsuccess criteria, and produces the matrix as part of its markdown and\nJSON output. You do not need to build the matrix manually.\n\nIf `.a11y-audit\u002FPROJECT_CONTEXT.md` specifies additional standards\n(e.g., CAN-ASC-6.2), build a secondary mapping. Cross-reference\nautomated findings where the standard maps to WCAG criteria. For\nrequirements that go beyond WCAG (equity, organizational processes,\ntransparency), note them as manual review items referencing the\nproject's existing conformance documentation.\n\n### Phase 4 -- Manual Check Guidance\n\n**Purpose:** Generate targeted checklists for what automation cannot\nverify, prioritized by the automated findings.\n\nFor each WCAG criterion marked \"Manual\" in the Phase 3 matrix, generate\na testing item. Organize by testing method: Keyboard Navigation, Screen\nReader, Visual Inspection, Cognitive, and Timing\u002FMotion.\n\n**Dynamic prioritization:** Do not produce a static checklist. Use the\nPhase 2 results to focus manual effort:\n\n- If axe found color-contrast violations, prioritize visual inspection\n  items (SC 1.4.1, 1.4.11, 1.4.10, 1.4.12, 1.4.13)\n- If axe found ARIA or landmark violations, prioritize screen reader\n  items (SC 1.3.1, 4.1.3, 3.3.1, 3.3.2)\n- If axe found heading or structure violations, prioritize keyboard\n  navigation items (SC 2.4.3, 2.4.7, 2.1.1)\n- If no form-related violations were found, deprioritize form testing\n  (SC 3.3.3, 3.3.4) with a note that automated checks passed\n- Always include timing items (SC 2.2.1, 2.2.2, 2.3.1) since these\n  cannot be automated at all\n\nEach checklist item specifies: the WCAG criterion, what to test, how\nto test it, and which pages to focus on (pages where automated issues\nwere found get priority).\n\nIf `.a11y-audit\u002FPROJECT_CONTEXT.md` references an existing testing guide,\ncross-link to it rather than duplicating procedures.\n\n### Phase 5 -- Output Generation\n\n**Purpose:** Produce output based on the configured output mode.\n\nRun `scripts\u002Freport.js` to generate the markdown report and JSON data\nfile from the Phase 2 scan output:\n\n```bash\nnode a11y-audit\u002Fscripts\u002Freport.js \\\n  --input \u002Ftmp\u002Fa11y-scan.json \\\n  --output-dir docs\u002Faccessibility\u002Faudits \\\n  --project-name \"Project Name\" \\\n  --runtime-url http:\u002F\u002F127.0.0.1:3000 \\\n  --expected-url http:\u002F\u002Flocalhost:3000 \\\n  --discover \u002Ftmp\u002Fa11y-discover.json\n```\n\nPass `--discover` when a discover.js scan plan was used. This adds a\nSampling Strategy subsection to the report methodology documenting\ntemplate groups and coverage ratio.\n\nPass `--previous \u003Cprior-audit.json>` to generate a Delta from Previous\nAudit section showing fixed rules, new rules, changed instance counts,\nand net progress.\n\nThe script produces `audit-YYYY-MM-DD.md` and `audit-YYYY-MM-DD.json`\nfollowing the contracts in `references\u002Foutput-contract.md` and\n`references\u002Foutput-schema.json`. You do not need to read those reference\nfiles unless modifying the report script itself.\n\nAfter running report.js, review its output and fill in the **Manual\nTesting Recommendations** section with the Phase 4 guidance (report.js\nleaves a placeholder for this since it requires reasoning about the\nspecific findings pattern).\n\n`.a11y-audit\u002FPROJECT_CONTEXT.md` can override the output path.\n\nIf the user wants a recurring or on-demand CI job, adapt\n`assets\u002Fci\u002Fgithub-actions\u002Faccessibility-audit.yml` to the target\nworkspace instead of inventing a workflow from scratch.\n\n### Phase 6 -- Issue Creation (conditional)\n\n**Purpose:** Create issue tracker tickets for findings. Runs only when\nthe output mode is `markdown+issues`.\n\n**This phase requires explicit user confirmation.** Before creating any\ntickets, show the user how many will be created, at what priority levels,\nand ask for approval.\n\nRead `references\u002Fissue-trackers.md` for tracker configuration,\ndeduplication, priority mapping, and ticket structure. Use the tracker\nsettings from `.a11y-audit\u002FPROJECT_CONTEXT.md`.\n\n---\n\n## Verification\n\nAfter completing an audit, verify these quality checks:\n\n1. **axe results valid**: Compare violation count against a manual\n   axe DevTools browser extension run on the same page. Counts should\n   match within tolerance (axe versions may differ slightly).\n\n2. **Lighthouse score consistent**: Compare against a manual Chrome\n   DevTools Lighthouse run when Lighthouse was actually executed. Should\n   be within 5 points.\n\n3. **WCAG matrix complete**: All 50 AA criteria appear in the compliance\n   matrix. No criterion is missing.\n\n   Treat the matrix as evidence-oriented status reporting. Do not frame\n   it as proof of full conformance, because many WCAG criteria remain\n   manual even in a strong automated run.\n\n4. **Report structure**: All required sections present. Tables render\n   correctly in a markdown viewer.\n\n5. **JSON validity** (`markdown+json` mode): JSON file parses without\n   error. Violation counts match the markdown report.\n\n6. **Issue deduplication** (`markdown+issues` mode): Run the skill\n   twice. The second run should create zero duplicate tickets.\n\n7. **Output mode persistence**: After first run, verify the output mode\n   is saved to `.a11y-audit\u002FPROJECT_CONTEXT.md` and used automatically\n   on next run.\n\n8. **Runtime URL reconciliation**: If the app started on a different\n   local URL than expected, verify the report records the mismatch and\n   the context file reflects the actual working `base_url`.\n\n---\n\n## What This Skill Does NOT Do\n\n- **Visual regression testing**: does not compare screenshots between\n  runs. Use Percy, Chromatic, or BackstopJS for that.\n- **PDF accessibility**: does not audit PDF documents for tagged\n  structure, reading order, or alternative text.\n- **Real device\u002FAT testing**: runs in headless Chromium only. Cannot\n  test on real iOS\u002FAndroid or with real screen readers. Phase 4\n  generates manual checklists for this.\n- **Code fixes**: reports findings but does not modify source code.\n- **VPAT generation**: does not produce Voluntary Product Accessibility\n  Templates (specific legal format).\n- **Continuous monitoring**: runs on demand, not as a CI pipeline.\n  The `markdown+json` output mode provides structured data for building\n  CI integrations, but the skill itself does not run in CI.\n- **Third-party auditing**: only audits the project's own frontend,\n  not embedded third-party services.\n","# Accessibility Audit\n\n## Architecture\n\nThis skill operates as a single layer. It reads the project environment,\nruns automated accessibility tools, maps findings to compliance standards,\nand produces output in a configurable format. No external skill dependency\nis required.\n\nStore project-specific audit state in the target workspace, not in the\ninstalled skill directory. Default path:\n`.a11y-audit\u002FPROJECT_CONTEXT.md` at the workspace root. When that file\nexists, use it for project-specific configuration: output mode,\nadditional compliance standards, issue tracker settings, route lists,\ncolor palettes, and cross-references to existing documentation. When\nabsent, use WCAG 2.1 AA as the sole standard, `markdown` as the output\nmode, and generic defaults for everything else.\n\nUse `references\u002Fproject-context-template.md` as the canonical schema for\nthat file, including minimal and `markdown+issues` examples.\n\nPrefer bundled helpers over ad hoc generation when they fit:\n\n- `scripts\u002Fbootstrap-context.js` creates a workspace-local\n  `.a11y-audit\u002FPROJECT_CONTEXT.md` from simple inputs.\n- `scripts\u002Fscan.js` runs reusable axe-based scans and records optional\n  Lighthouse execution intent. Use `--summary` to reduce output size\n  (keeps full violation detail, strips node data from passes\u002Finapplicable).\n- `scripts\u002Freport.js` generates the markdown report and JSON data file\n  from scan.js output. Handles WCAG compliance matrix, violation\n  aggregation, and color-contrast detail extraction deterministically.\n- `scripts\u002Fdiscover.js` identifies template groups on large sites and\n  selects representative pages for scanning. Reads sitemap.xml first,\n  falls back to HTML navigation crawl. Outputs a scan plan with\n  template groups and a ready-to-use URL list for scan.js. Discovery is\n  same-origin by default; use `--allow-cross-origin-sitemaps` only after\n  the user approves sitemap-declared cross-origin targets.\n\n### Dependencies\n\nscan.js requires `axe-core` and `puppeteer`. It resolves these in order:\n\n1. **Skill-local** `deps\u002F` directory (sibling to `scripts\u002F`)\n2. **Target project** `node_modules\u002F` (and common workspace subdirs)\n3. **Global** npm modules\n\nIf not found anywhere, scan.js **auto-installs** both packages to the\nskill-local `deps\u002F` directory. This means the skill works against any\nproject without requiring the target to have accessibility tooling\ninstalled. The `deps\u002F` directory is gitignored.\n\nBecause `scan.js` may auto-install missing dependencies, agents should\nask before invoking scan.js when the target workspace does not already\nprovide `axe-core` and the chosen browser automation package.\n\nThe bundled scanner supports Puppeteer only. Treat `--browser` as a\nfixed option, not a user-controlled package installer.\n\n### Platform-Specific References\n\n- If running in Claude Code, read `references\u002Fclaude-code.md` for\n  `.claude\u002Flaunch.json` handling and Preview tool usage.\n- If running in Codex, read `references\u002Fcodex.md` for workspace-local\n  state handling and execution assumptions.\n- `references\u002Foutput-contract.md` and `references\u002Foutput-schema.json`\n  are encoded in `scripts\u002Freport.js`. Read them only when modifying the\n  report script.\n- Read `references\u002Fissue-trackers.md` only when `output_mode` is\n  `markdown+issues`.\n- If the user wants to operationalize recurring audits in CI, start from\n  `assets\u002Fci\u002Fgithub-actions\u002Faccessibility-audit.yml`.\n- Prefer `scripts\u002Fplan-issues.js` before live ticket creation when you\n  need a safe review and deduplication pass.\n\n**The skill does not modify source code.** It is an auditor, not a fixer.\nFindings are reported with remediation guidance; the user decides what to\nact on.\n\n### Output Modes\n\nThe skill supports three output modes, configured via the `output_mode`\nfield in `.a11y-audit\u002FPROJECT_CONTEXT.md`:\n\n| Mode | Output | Use Case |\n|------|--------|----------|\n| `markdown` | Markdown report only | Human review, documentation |\n| `markdown+json` | Markdown report + JSON data file | CI integration, dashboards, trend tracking |\n| `markdown+issues` | Markdown report + issue tracker tickets | Active remediation workflow |\n\nOn first run, if no `output_mode` is set in\n`.a11y-audit\u002FPROJECT_CONTEXT.md`, ask the user which mode they prefer\nand persist their choice by appending an `## Output Configuration`\nsection to that file. If no context file exists, create it at the\ndefault path following `references\u002Fproject-context-template.md`. Prefer\n`scripts\u002Fbootstrap-context.js` for first-run context creation when a\nsimple generated file is sufficient.\n\nThe `markdown+json` mode writes a companion file alongside the report:\n`audit-YYYY-MM-DD.json` containing the raw axe-core results, Lighthouse\nscores, and the compliance matrix as structured data. This file is\nmachine-readable and can be consumed by CI pipelines, dashboards, or\ntrend-tracking tools.\n\nThe `markdown+issues` mode requires additional configuration in the\ncontext file (see Phase 6).\n\n---\n\n## Pipeline\n\nAn accessibility audit moves through six phases. Each phase produces data\nthe next phase consumes. Phases 1-4 always run. Phase 5 produces output\nbased on the configured output mode. Phase 6 runs only in\n`markdown+issues` mode and requires explicit user confirmation.\n\nThe user can request a partial run. Common patterns:\n- \"Quick scan\": Phases 1-2 only, results summarized in conversation\n- \"Full audit\": Phases 1-5, output per configured mode\n- \"Audit with issues\": Phases 1-6, report plus tracker tickets\n\n### Phase 1 -- Environment Discovery\n\n**Purpose:** Understand the project before scanning.\n\n1. Read `.a11y-audit\u002FPROJECT_CONTEXT.md` if it exists (standards, routes,\n   output mode, labels). If absent, create it via\n   `scripts\u002Fbootstrap-context.js` or from\n   `references\u002Fproject-context-template.md`.\n2. Read `package.json` for tech stack, existing a11y tooling, and\n   available browser automation (`puppeteer` \u002F `playwright`).\n3. Build a scannable URL list from router config or HTML file glob.\n   For sites with many pages (>15 routes), prefer `scripts\u002Fdiscover.js`\n   to classify pages into template groups and select representatives.\n   Review the scan plan with the user before proceeding to Phase 2.\n4. Confirm a dev server is reachable. Check `.claude\u002Flaunch.json` and\n   platform-specific references for launch hints. If the app starts on a\n   different URL than expected, switch to the live URL, record the\n   mismatch, and update the context file.\n5. Ask before installing any missing dependencies.\n\n**Output:** Structured summary reported to the user before proceeding.\n\n### Phase 2 -- Automated Scanning\n\n**Purpose:** Run automated accessibility checks against live pages.\n\n**Prerequisite:** A running dev server (or production URL provided by\nthe user).\n\n#### axe-core Scanning\n\nPrefer the bundled `scripts\u002Fscan.js` before writing a throwaway scan\nscript. Use an ad hoc script only when the workspace needs behavior that\nthe bundled script does not yet support.\n\nThe reusable scanner should:\n\n1. Imports `puppeteer` and `axe-core`\n2. Launches a headless browser\n3. For each target URL:\n   a. Navigates to the page\n   b. Waits for network idle (`waitUntil: 'networkidle0'`)\n   c. Injects axe-core: reads the axe-core source file from\n      `node_modules\u002Faxe-core\u002Faxe.min.js` and injects it via\n      `page.evaluate()`\n   d. Runs the audit: `page.evaluate(() => axe.run())`\n   e. Collects the results JSON\n4. Closes the browser\n5. Writes raw results to JSON\n\nExample invocation:\n\n```bash\nnode a11y-audit\u002Fscripts\u002Fscan.js \\\n  --root . \\\n  --urls http:\u002F\u002F127.0.0.1:3000\u002F,http:\u002F\u002F127.0.0.1:3000\u002Fabout \\\n  --output \u002Ftmp\u002Fa11y-scan.json \\\n  --summary\n```\n\n**Adapt to the project.** If dependencies live in a frontend\nsubdirectory, point `--root` at the workspace root; the bundled script\nalready checks common frontend paths. If that still fails, fall back to\nan ad hoc script or run from the frontend directory directly.\n\n**Common mistake:** Do not use `require()` in an ES module project. Check\n`package.json` for `\"type\": \"module\"`. If present, use `import` syntax\nand the `__dirname` workaround in any ad hoc script. If absent,\n`require()` is fine.\n\n**Playwright alternative:** If the project uses Playwright instead of\nPuppeteer, adapt the script: replace `puppeteer.launch()` with\n`chromium.launch()`, use `page.goto()` the same way, and inject\naxe-core via `page.evaluate()`. The axe-core injection pattern is\nidentical. Use whichever browser automation library the project already\nhas installed.\n\n#### Lighthouse Scanning\n\nRun Lighthouse CLI against each target URL:\n\n```bash\nnpx lighthouse \u003Curl> \\\n  --output=json \\\n  --output-path=stdout \\\n  --only-categories=accessibility \\\n  --chrome-flags=\"--headless --no-sandbox\" \\\n  --quiet\n```\n\nParse the JSON output. Extract:\n- `categories.accessibility.score` (0-1, multiply by 100)\n- `audits` where `score !== 1` (failed or partial audits)\n- Each audit's `description` and `details.items`\n\nIf Lighthouse is unavailable or fails (common in CI environments), skip\nit and note the gap in the report. In the executive summary and\nmethodology, explicitly say whether Lighthouse was skipped because the\nCLI was missing, Chrome launch failed, or another runtime error\noccurred. axe-core results alone are sufficient for a valid audit.\n\n#### Scope Control\n\n- Default: scan routes discovered in Phase 1\n- If a discover.js scan plan exists, use its `scanList` for `--urls`.\n  The report methodology will record the sampling strategy.\n- If more than 10 routes exist and no discover plan is available, ask\n  the user which to scan or whether to scan all\n- The user can provide a specific URL list to override discovery\n- For SPAs: navigate via the router, not by reloading the page (some\n  routes may not work as direct URLs)\n\n#### Result Structure\n\nFor each page, collect:\n- `url`: the scanned URL\n- `violations`: array of axe violations, each with `id`, `impact`\n  (critical\u002Fserious\u002Fmoderate\u002Fminor), `description`, `help`, `helpUrl`,\n  `tags` (WCAG criteria), `nodes` (affected elements with selectors)\n- `passes`: count of passing rules\n- `incomplete`: rules that could not be fully evaluated\n- `lighthouseScore`: 0-100 (if available)\n- `lighthouseAudits`: failed audit details (if available)\n\n### Phase 3 -- Compliance Mapping\n\n**Purpose:** Map automated findings to WCAG 2.1 AA success criteria and\nany project-specific standards.\n\n`scripts\u002Freport.js` handles the compliance matrix deterministically. It\nhardcodes all 50 WCAG 2.1 Level A and AA criteria, maps axe tags to\nsuccess criteria, and produces the matrix as part of its markdown and\nJSON output. You do not need to build the matrix manually.\n\nIf `.a11y-audit\u002FPROJECT_CONTEXT.md` specifies additional standards\n(e.g., CAN-ASC-6.2), build a secondary mapping. Cross-reference\nautomated findings where the standard maps to WCAG criteria. For\nrequirements that go beyond WCAG (equity, organizational processes,\ntransparency), note them as manual review items referencing the\nproject's existing conformance documentation.\n\n### Phase 4 -- Manual Check Guidance\n\n**Purpose:** Generate targeted checklists for what automation cannot\nverify, prioritized by the automated findings.\n\nFor each WCAG criterion marked \"Manual\" in the Phase 3 matrix, generate\na testing item. Organize by testing method: Keyboard Navigation, Screen\nReader, Visual Inspection, Cognitive, and Timing\u002FMotion.\n\n**Dynamic prioritization:** Do not produce a static checklist. Use the\nPhase 2 results to focus manual effort:\n\n- If axe found color-contrast violations, prioritize visual inspection\n  items (SC 1.4.1, 1.4.11, 1.4.10, 1.4.12, 1.4.13)\n- If axe found ARIA or landmark violations, prioritize screen reader\n  items (SC 1.3.1, 4.1.3, 3.3.1, 3.3.2)\n- If axe found heading or structure violations, prioritize keyboard\n  navigation items (SC 2.4.3, 2.4.7, 2.1.1)\n- If no form-related violations were found, deprioritize form testing\n  (SC 3.3.3, 3.3.4) with a note that automated checks passed\n- Always include timing items (SC 2.2.1, 2.2.2, 2.3.1) since these\n  cannot be automated at all\n\nEach checklist item specifies: the WCAG criterion, what to test, how\nto test it, and which pages to focus on (pages where automated issues\nwere found get priority).\n\nIf `.a11y-audit\u002FPROJECT_CONTEXT.md` references an existing testing guide,\ncross-link to it rather than duplicating procedures.\n\n### Phase 5 -- Output Generation\n\n**Purpose:** Produce output based on the configured output mode.\n\nRun `scripts\u002Freport.js` to generate the markdown report and JSON data\nfile from the Phase 2 scan output:\n\n```bash\nnode a11y-audit\u002Fscripts\u002Freport.js \\\n  --input \u002Ftmp\u002Fa11y-scan.json \\\n  --output-dir docs\u002Faccessibility\u002Faudits \\\n  --project-name \"Project Name\" \\\n  --runtime-url http:\u002F\u002F127.0.0.1:3000 \\\n  --expected-url http:\u002F\u002Flocalhost:3000 \\\n  --discover \u002Ftmp\u002Fa11y-discover.json\n```\n\nPass `--discover` when a discover.js scan plan was used. This adds a\nSampling Strategy subsection to the report methodology documenting\ntemplate groups and coverage ratio.\n\nPass `--previous \u003Cprior-audit.json>` to generate a Delta from Previous\nAudit section showing fixed rules, new rules, changed instance counts,\nand net progress.\n\nThe script produces `audit-YYYY-MM-DD.md` and `audit-YYYY-MM-DD.json`\nfollowing the contracts in `references\u002Foutput-contract.md` and\n`references\u002Foutput-schema.json`. You do not need to read those reference\nfiles unless modifying the report script itself.\n\nAfter running report.js, review its output and fill in the **Manual\nTesting Recommendations** section with the Phase 4 guidance (report.js\nleaves a placeholder for this since it requires reasoning about the\nspecific findings pattern).\n\n`.a11y-audit\u002FPROJECT_CONTEXT.md` can override the output path.\n\nIf the user wants a recurring or on-demand CI job, adapt\n`assets\u002Fci\u002Fgithub-actions\u002Faccessibility-audit.yml` to the target\nworkspace instead of inventing a workflow from scratch.\n\n### Phase 6 -- Issue Creation (conditional)\n\n**Purpose:** Create issue tracker tickets for findings. Runs only when\nthe output mode is `markdown+issues`.\n\n**This phase requires explicit user confirmation.** Before creating any\ntickets, show the user how many will be created, at what priority levels,\nand ask for approval.\n\nRead `references\u002Fissue-trackers.md` for tracker configuration,\ndeduplication, priority mapping, and ticket structure. Use the tracker\nsettings from `.a11y-audit\u002FPROJECT_CONTEXT.md`.\n\n---\n\n## Verification\n\nAfter completing an audit, verify these quality checks:\n\n1. **axe results valid**: Compare violation count against a manual\n   axe DevTools browser extension run on the same page. Counts should\n   match within tolerance (axe versions may differ slightly).\n\n2. **Lighthouse score consistent**: Compare against a manual Chrome\n   DevTools Lighthouse run when Lighthouse was actually executed. Should\n   be within 5 points.\n\n3. **WCAG matrix complete**: All 50 AA criteria appear in the compliance\n   matrix. No criterion is missing.\n\n   Treat the matrix as evidence-oriented status reporting. Do not frame\n   it as proof of full conformance, because many WCAG criteria remain\n   manual even in a strong automated run.\n\n4. **Report structure**: All required sections present. Tables render\n   correctly in a markdown viewer.\n\n5. **JSON validity** (`markdown+json` mode): JSON file parses without\n   error. Violation counts match the markdown report.\n\n6. **Issue deduplication** (`markdown+issues` mode): Run the skill\n   twice. The second run should create zero duplicate tickets.\n\n7. **Output mode persistence**: After first run, verify the output mode\n   is saved to `.a11y-audit\u002FPROJECT_CONTEXT.md` and used automatically\n   on next run.\n\n8. **Runtime URL reconciliation**: If the app started on a different\n   local URL than expected, verify the report records the mismatch and\n   the context file reflects the actual working `base_url`.\n\n---\n\n## What This Skill Does NOT Do\n\n- **Visual regression testing**: does not compare screenshots between\n  runs. Use Percy, Chromatic, or BackstopJS for that.\n- **PDF accessibility**: does not audit PDF documents for tagged\n  structure, reading order, or alternative text.\n- **Real device\u002FAT testing**: runs in headless Chromium only. Cannot\n  test on real iOS\u002FAndroid or with real screen readers. Phase 4\n  generates manual checklists for this.\n- **Code fixes**: reports findings but does not modify source code.\n- **VPAT generation**: does not produce Voluntary Product Accessibility\n  Templates (specific legal format).\n- **Continuous monitoring**: runs on demand, not as a CI pipeline.\n  The `markdown+json` output mode provides structured data for building\n  CI integrations, but the skill itself does not run in CI.\n- **Third-party auditing**: only audits the project's own frontend,\n  not embedded third-party services.\n",{"name":5,"metadata":24,"description":30},{"version":25,"file_role":26,"skill_bundle":5,"version_date":27,"change_summary":28,"previous_version":29},14,"skill",1780185600000,"Documented same-origin discovery defaults, cross-origin sitemap opt-in, and fixed Puppeteer-only scanner dependency behavior.",13,"Run accessibility audits on web projects combining automated scanning (axe-core, Lighthouse) with WCAG 2.1 AA compliance mapping, manual check guidance, and structured reporting. Output is configurable: markdown report only, markdown plus machine-readable JSON, or markdown plus issue tracker integration. Use this skill whenever the user mentions \"accessibility audit\", \"a11y audit\", \"WCAG audit\", \"accessibility check\", \"compliance scan\", or asks to check a web project for accessibility issues. Also trigger when the user wants to verify WCAG conformance or map findings to a specific standard (CAN-ASC-6.2, EN 301 549, ADA\u002FAODA).\n","master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fskills_sh\u002Fs\u002Fskills-sh_snapsynapse_skill-a11y-audit_a11y-audit",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":8,"skillName":5,"commands":41,"prompt":51,"zipAvailable":52},[42,45,48],{"tool":43,"command":44},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill a11y-audit",{"tool":46,"command":47},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill a11y-audit",{"tool":49,"command":50},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill a11y-audit","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fskills_sh\u002Fs\u002Fskills-sh_snapsynapse_skill-a11y-audit_a11y-audit\u002FSKILL.md",true,[],[55,62,69,76,83,90],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]