/binclusive-accessibility:audit-accessibilityfrom Binclusive Accessibility
Audits accessibility of React, Next.js, Angular, React Native, Expo, ASP.NET, WordPress, SwiftUI, UIKit, Android, Flutter, or Python projects using the Binclusive CLI engine and agent analysis. Generates actionable TODO reports without editing code.
Ships in Binclusive Accessibility. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Run this skill directly without CLI onboarding, login, dashboard access, credentials, binclusive.json, or cli-onboarding.json. Do not run onboarding-state.mjs as a prerequisite, redirect to onboarding, or stop for missing/stale/invalid onboarding state. Offer $onboard-binclusive-cli only when the user asks for CLI setup or connected delivery. If an optional CLI/MCP operation is unavailable, continue the local workflow and report only that integration limitation. CI/Diff Mode must also work without onboarding or interactive setup.
Requires the
binclusiveCLI (the unified CLI providingscan/scan --url/init/ci). Ifbinclusive scanerrors as an unknown command, upgrade the CLI — the agent + references path still works without it, just without the source-provable floor.
Audit a previously mapped React/Next.js web, Angular web, React Native/Expo, ASP.NET/ASPX, WordPress theme, iOS SwiftUI/UIKit, native Android (Jetpack Compose / Android Views/XML), Flutter (Dart, Material/Cupertino), or Python (desktop GUI, CLI/TUI, web backend, or docs) scope and write an actionable accessibility TODO report. This skill observes and documents only. It never edits source code.
Where the shipped binclusive CLI can scan the target, run it before the reference-driven agent pass. The CLI is the deterministic engine (resolver + enforce + jsx-a11y + corpus enrichment for TSX; rendered-DOM axe for a live URL); its output is the source-provable floor the agent then builds on. This grounds the audit in the real engine instead of agent judgment alone. Engine coverage is partial by platform — be honest about which tier a finding came from.
Coverage tiers (what the CLI can actually scan today):
npx @binclusive/cli scan <path> --format json runs the multi-collector static dispatch — one command grounds every platform below whose collector it dispatches.
npx @binclusive/cli scan --url <url> --format json.Procedure when the CLI covers the scope (any engine-groundable platform above, or any live URL):
npx @binclusive/cli scan <path> --format json for static source — one run dispatches every engine-groundable collector (React/TSX, Astro, Shopify/Liquid, SwiftUI/UIKit, Compose/Kotlin, Android Views/XML, Unity), and/or npx @binclusive/cli scan --url <url> --format json for a rendered page. If the project has no binclusive.json, it is auto-detected; npx @binclusive/cli init writes one when you want it pinned.engine: source-provable tier. These are proven by the deterministic engine against real source / rendered DOM.agent: judgment or agent: runtime.Provenance is mandatory. Every finding in the TODO carries a provenance label — engine: source-provable, agent: judgment, or agent: runtime — alongside the existing coverage-bucket / fix-type language. This is the honest coverage split: the reader sees which findings the deterministic engine proved and which rest on agent judgment.
For the no-engine platforms above, the audit stays exactly as it is today (agent + references); every such finding is agent: judgment or agent: runtime.
Binclusive-auditing/ in the project root.map-project or /mapaccessibility first.*_project-map.md end to end.references/auditor-web-a11y.mdreferences/react-nextjs.mdreferences/patterns/react-nextjs-patterns.md when availablereferences/auditor-web-a11y.mdreferences/angular.mdreferences/patterns/angular-patterns.md when availablereferences/react-native.mdreferences/patterns/react-native-patterns.md when availablereferences/auditor-web-a11y.mdreferences/aspnet-aspx.mdreferences/patterns/aspnet-aspx-patterns.md when availablereferences/auditor-web-a11y.mdreferences/wordpress-theme.mdreferences/patterns/wordpress-theme-patterns.md when availablereferences/ios-swift.mdreferences/patterns/ios-swift-patterns.md when availablereferences/android.mdreferences/patterns/android-patterns.md when availablereferences/flutter.mdreferences/patterns/flutter-patterns.md when availablereferences/python.md (classify the surface first: desktop GUI, CLI/TUI, web backend, generated docs, or pure library)references/auditor-web-a11y.md as well when the Python app renders HTML (Django/Flask/Jinja templates)Binclusive-auditing/accessibility-todo.md and also archive a dated copy: accessibility-todo_<YYYY-MM-DD>.md.The audit's second silent-skip failure mode is within a file: a large source file is read once through the default window (~1500–2000 lines) and everything past it goes un-audited, while the report still presents the file as covered. An un-read region is an unaudited region — treat it as a finding-bearing surface you have not yet looked at, not as clean.
This applies to every run. CI/Diff Mode already narrows to changed line ranges; the full-scope audit over a large mapped codebase is where the in-file skip bites.
See references/read-coverage-ledger-example.md for a real read-coverage ledger from a
101-file iOS run, including how a file larger than one read window is reported as
Partially read until it is paged through to EOF.
The map sets the outer boundary; within it the audit can run over everything mapped or narrow to one target.
/auditaccessibility <target> argument or in their request (e.g. "audit only the LoginButton") - audit only that target plus the usages the map records for it.map-project for that target first. Never silently fall back to auditing the whole project when a narrow target was requested.Scope audited field, and note when it was narrowed from a broader map (e.g. LoginButton (narrowed from full project map)). Keep stable TASK-00x ids scoped to this run.The Coverage rules above make a skipped file visible (it shows as partially-read/unread
in the read-coverage ledger), but a single agent holding a large map can still run low on
attention/budget and surface a long unread-gap list instead of auditing the tail. Sharding
the audit across subagents — one per slice of the map — lets each slice be audited to
completion, raising real coverage rather than just disclosing the shortfall.
Fan-out is an optimization layered on top of the single-agent audit, never a replacement for it. The single-agent path is the portable baseline; sharding only ever adds parallelism to a full-scope run on a harness that can spawn subagents. Because the read-coverage ledger guarantees honest reporting in either mode, opting out of fan-out degrades throughput, not correctness — you get the honest unread-gap list instead of full coverage, never a false "all clear."
--shard argument (or the user asking to "fan out" / "shard" the audit).
Fan out regardless of size, as long as the harness is capable.--no-shard argument (or the user asking to keep it single-agent). Always
run single-agent, for cost control, reproducibility, or an unsupported harness.Subagent fan-out needs exactly one capability: the ability to spawn parallel sub-tasks. Detect that capability and map Shard Mode onto whatever parallel-subtask primitive the active harness provides:
Task tool (spawn one subagent per shard).agents/openai.yaml) — concurrent tool-call fan-out where the runtime
runs tool calls in parallel.If the active harness exposes any such primitive, fan out through it. The fan-out procedure below is written against a generic "spawn one worker per shard" primitive and is identical regardless of which harness provides it — each worker gets the same slice, map excerpts, and references, and the deterministic merge step is unchanged. This is a capability check, not a vendor check: a new harness with a parallel-subtask primitive gets fan-out for free, with no edit here.
Fall back silently, never error. Only when a harness exposes no parallel-subtask
primitive at all do you run single-agent regardless of mode — including an explicit
--shard — and produce the same report shape, with no error. In that case note the fallback
in the audit summary (one line: "fan-out unavailable on this harness; ran single-agent") rather
than failing the run. Because the read-coverage ledger keeps every run honest on every
harness (see "Coverage" and the fan-out merge step), the single-agent fallback gives up parallel
wall-clock speed on large maps — never coverage or findings.
This capability-detected design is the ratified choice
(.decisions/0001-portable-shard-mode-fanout.md): fan-out is portable across agent harnesses —
Claude Code, Copilot, Cursor, Codex/OpenAI, and future runtimes.
Button used across N pages from being audited N times (duplicate
TASK ids) or missed entirely.Task, Copilot/Cursor parallel agents, or concurrent
tool-call fan-out; the steps below are identical whichever it is). Give each worker: its
slice of the worklist, the
relevant map excerpts, and only the framework references that match the mapped platform
(the same reference set from "Start Here" step 5). Instruct each subagent to follow the full
Coverage rules (read every file in its slice to EOF in paged chunks) and the Audit Order,
and to return: (a) its findings in the standard format, (b) its slice of the read-coverage
ledger (fully-read / partially-read / unread), and (c) any coverage gaps it hit. Subagents
number their findings locally (each will start at TASK-001).TASK-001…TASK-0NN across
the whole run, so the per-shard local ids never collide in the report./auditaccessibility <target> run or any
narrowed scope audits one target plus its mapped usages — already small, so it runs
single-agent with no fan-out overhead, even under --shard.Use this mode for CI/CD pull-request checks. It is triggered by a --diff or --ci argument, or when the BINCLUSIVE_CI environment variable is set. In this mode the audit is non-interactive, diff-scoped, and gated — it asks no questions and audits only what the change touched.
Prefer the deterministic CLI gate for React/TSX. For a React/Next.js (TSX) diff, run the shipped engine as the gate: npx @binclusive/cli ci --base $BASE_REF --enforce block --format sarif > results.sarif. It is diff-scoped, exits 1 iff a gating finding exists, and emits SARIF for code-scanning upload. The base ref comes from BINCLUSIVE_BASE_REF, else GITHUB_BASE_REF, else origin/main. Layer the reference-driven agent pass on top for what the engine cannot see, labeled with provenance as above. The same ci gate also covers the other engine-groundable static platforms — the ci command runs the same multi-collector dispatch, so an Astro, Shopify/Liquid, SwiftUI/UIKit, Compose/Kotlin, Android Views/XML, or Unity diff is gated on the engine too. The scripts/git-diff-scope.mjs + scripts/gate.mjs path below remains the fallback, and is the primary CI path for the engine-less source platforms (ASP.NET/ASPX, WordPress/PHP, Python, Angular, Flutter, React Native).
node <skill-dir>/scripts/git-diff-scope.mjs <project-root>. It returns changedFiles (auditable source files changed between the base ref and HEAD), changedLineRanges per file, mode, and baselineMap. The base ref comes from BINCLUSIVE_BASE_REF, else GITHUB_BASE_REF, else origin/main. By default the scope is committed history only (base...HEAD); pass --include-working (or BINCLUSIVE_INCLUDE_WORKING=1) to also audit uncommitted/untracked local edits for pre-commit runs. A file with status: "U" (untracked) or empty changedLineRanges is audited whole. Always read the notes — if it reports uncommitted files excluded, surface that rather than reporting an empty audit as "all clear."changedFiles is empty, write no findings, state "no auditable changes in this diff," and stop. CI passes.baselineMap is set, read it and pull the known usages of each changed shared component into scope (a changed Button audits its consumer pages too).baselineMap is null (diff-only), search for importers/consumers of each changed file to recover usage context. Record this as a coverage limitation.changedLineRanges — do not raise findings on unchanged lines of a touched file unless the change made them newly reachable. Apply the normal Audit Order and reference rules to that narrowed scope.--shard) — the diff scope is already small, so subagent fan-out would only add overhead.accessibility-todo.md + dated copy), with Scope audited: diff vs <base ref> and the changed file list in the header.The build pass/fail is decided by the gate, run after this skill: node <skill-dir>/scripts/gate.mjs Binclusive-auditing/accessibility-todo.md --max-severity=serious exits non-zero when any open finding is at or above the threshold. See references/ci-cd.md for the full pipeline wiring.
Use the TODO format in references/accessibility-todo-format.md. Every finding must include:
TASK-001, etc.)SAFE, VISUAL-IMPACT, FUNCTIONAL-RISK, or RUNTIME-CHECKTODOThe report header must also carry a read-coverage ledger: count of in-scope files fully-read vs partially-read vs unread, and the explicit list of any partially-read or unread files (see "Coverage"). A report with no coverage ledger reads as "everything was audited" — which is the exact false-complete signal this guards against.
In a sharded run (see "Shard Mode") this ledger is the union of every shard's ledger, and
the 100% worklist-coverage assertion must pass before the report is written — a slice no
subagent covered is a named unread gap here, never an implicit "clean." The output is
otherwise identical to a single-agent run: same format, same merged TASK-00x sequence, no
shard structure exposed.
After writing and verifying the TODO report, read and follow references/dashboard-ticket-sync.md. Offer to publish every open TODO to a user-selected Binclusive organization and project. This is recommended for shared ownership and ticket tracking, but requires explicit opt-in. Inspect the authenticated MCP create_ticket schema and map each finding into its native location, element, impact, evidence, description, and recommendation fields. Send readable plain text, never the Markdown file or raw finding sections. Keep exact code and report-only metadata in the local report, with task-to-ticket mappings in the sync receipt.
For web scopes:
For Angular web scopes (the shared web rules apply; these are the Angular-specific layers):
.component.html / inline template): (click)/keyboard handlers on non-semantic elements, attribute bindings, and host bindings.[attr.aria-*]/[attr.role] vs bare [aria-*]/[role] property bindings that never reach the DOM; conditional ARIA state that must track real open/selected/checked state.routerLink/<a href>), Input/FormControl, Select/Autocomplete, Checkbox, Radio, Switch/Toggle, Slider, Dialog/MatDialog/CDK overlay, Drawer, Menu, Tabs, Accordion/Expansion, Stepper, Carousel, Tooltip, custom directive-driven control.<img alt>/[alt]), Icon (mat-icon/SVG), Avatar, Table/mat-table/cdk-table, Chart, cdk-virtual-scroll list, Skeleton, Loading, Badge, Snackbar/Toast.cdkTrapFocus/cdkFocusInitial/focus restore in dialogs and overlays, cdkAriaLive/LiveAnnouncer for status, FocusMonitor for visible keyboard focus, and that A11yModule/CDK a11y directives are actually imported where used.*ngIf/@if, *ngFor/@for, *ngSwitch/@switch, [hidden], @defer, and router behavior — per-route page title/TitleStrategy, route-change focus reset/announcement, skip link, <main> landmark, <html lang>/dir.For React Native scopes:
For iOS SwiftUI/UIKit scopes:
For native Android (Jetpack Compose / Android Views/XML) scopes:
RecyclerView rows, and XML layouts.EditText, Checkbox, RadioButton, Switch, Slider/SeekBar, Stepper, Dialog/BottomSheet, Menu, Tab, Chip, custom gesture targets, custom Views.LazyColumn/RecyclerView, Grid, Chart, Map, Skeleton, Loading/Progress, Badge, Snackbar/Toast.For Flutter (Dart, Material/Cupertino/Widgets) scopes:
ListView/GridView items, and dialogs/sheets.ElevatedButton/TextButton/OutlinedButton/FilledButton), IconButton/FAB, tappable text/Link, TextField/TextFormField, Checkbox, Radio, Switch, Slider, Stepper, Dropdown, Dialog/BottomSheet, Menu, Tab, Chip, custom gesture targets (GestureDetector/InkWell).SvgPicture, Icon, CircleAvatar, List/ListView/GridView, Chart, Map, Skeleton/Shimmer, Loading/Progress, Badge, SnackBar/Tooltip.AppBar/SliverAppBar titles, headings (Semantics(header:)), focus/reading order (sortKey/FocusTraversal), dialog/sheet presentation/dismissal (BlockSemantics), errors, status updates (liveRegion), localization, text scaling, animations, RTL, contrast, touch targets (48x48).RUNTIME-CHECK.[attr.aria-*] bindings, with Angular CDK a11y primitives — cdkTrapFocus, cdkAriaLive, LiveAnnouncer — and Angular Material before hand-rolled widgets), React Native primitives/accessibility props for React Native, native SwiftUI/UIKit controls/APIs for iOS, native Compose/Material semantics or Android View accessibility APIs (contentDescription, Modifier.semantics, labelFor, AccessibilityDelegate) for native Android, and native Material/Cupertino widgets or Flutter semantics (Semantics, semanticLabel, MergeSemantics/ExcludeSemantics, tooltip) for Flutter..decisions/0001-portable-shard-mode-fanout.md): it runs on whatever parallel-subtask primitive the active harness exposes — the Claude Code Task tool, Copilot/Cursor parallel agents, or concurrent tool-call fan-out on Codex/OpenAI. Only a harness with no parallel-subtask primitive falls back to single-agent (same report shape), even under an explicit --shard. The single-agent path is the portable baseline, CI/Diff Mode and narrowed scopes never shard. Opting out — or running on a harness with no fan-out primitive — degrades throughput, not correctness: the read-coverage ledger keeps every run honest either way.agents/openai.yaml (opens in a new tab)references/accessibility-todo-example.md (opens in a new tab)references/accessibility-todo-format.md (opens in a new tab)references/android.md (opens in a new tab)references/angular.md (opens in a new tab)references/aspnet-aspx.md (opens in a new tab)references/auditor-web-a11y.md (opens in a new tab)references/ci-cd.md (opens in a new tab)references/dashboard-ticket-sync.md (opens in a new tab)references/flutter.md (opens in a new tab)references/ios-swift.md (opens in a new tab)references/patterns/android-patterns.md (opens in a new tab)references/patterns/angular-patterns.md (opens in a new tab)references/patterns/aspnet-aspx-patterns.md (opens in a new tab)references/patterns/flutter-patterns.md (opens in a new tab)references/patterns/ios-swift-patterns.md (opens in a new tab)references/patterns/react-native-patterns.md (opens in a new tab)references/patterns/react-nextjs-patterns.md (opens in a new tab)references/patterns/wordpress-theme-patterns.md (opens in a new tab)references/python.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
accessibility-audit, a11y, binclusive, wcag, accessibility-testing
Other plugins' skills for the same job
npx claudepluginhub binclusive/binclusive-accessibility-skills --plugin binclusive-accessibility9 skills in this plugin
/accessibility-runtime-journey-creatorDrive a live web app in Google Chrome or an Android/iOS app on a physical device or emulator/simulator, as the hands of the WCAG-EM journey flow in accessibility-test-journey-creator. Explores the product so the customer gets a suggested list of processes and views, and replays journeys to verify them; creating and publishing follow the approval lifecycle in accessibility-test-journey-creator Step 4. Covers mobile connection setup, saves journeys locally, guides Binclusive MCP delivery, and does not perform a complete accessibility audit or start cloud tests./accessibility-test-journey-creatorDecide what a Binclusive project's accessibility audit tests, the way WCAG-EM 2.0 runs an evaluation. The customer states the scope, the skill explores the whole product (live, or from source code) and suggests a list of processes and sample views, the customer edits and approves that list, and only approved journeys are created. Nothing is picked or published on its own. Works for web, iOS and Android projects. Use whenever the user wants to set up, draft, generate, normalize, migrate or convert journeys, including phrases like "create journeys for this site", "what should we audit", "set up journeys in Binclusive for [project]", "turn this flow doc into journeys", "birlikte test journey oluşturalım". Does not replace accessibility auditing or create Agentic QA journeys./aftertestvalidationValidate a reported accessibility fix in a live web, Android or iOS app from Excel, PDF, text or a Binclusive ticket. Locate the affected area, draft a launch-to-target aftertest accessibility journey, and once the user approves the drafted journey, create it through Binclusive MCP in the selected organization/project and run it, and record evidence or blockers in aftertest.md. Use for post-fix verification, after test, or erişilebilirlik düzeltmesini doğrula; does not implement fixes or run a whole-app audit./audit-runtime-accessibilityAudit a live web page or user-provided browser flow through a connected Chrome, external browser extension, or harness browser. Use when the user asks for runtime accessibility testing of localhost or a URL, visible or interactive element inspection, keyboard navigation, focus behavior, autocomplete/date-picker/dialog testing, or step-by-step accessibility validation in Codex, Claude Code, or another browser-capable agent harness./fix-accessibilityFix accessibility tasks from Binclusive accessibility-todo.md with user-guided selection and verification across supported web, WordPress theme/PHP, mobile, native, Flutter, and Python projects. Use when the user says /fixaccessibility, fix accessibility, fix WordPress theme accessibility, resolve accessibility TODOs, "erişilebilirlik sorunlarını düzelt", "wordpress tema erişilebilirlik sorunlarını düzelt", "accessibility todo'daki taskları düzelt", "TASK-001'i düzelt", "safe taskları düzelt", or wants to remediate selected TASK IDs from an audit report./map-projectMap a React, Next.js, Angular, React Native, Expo, ASP.NET, ASPX/Web Forms, WordPress theme or plugin (PHP, classic, block, hybrid, public, admin, or editor UI), SwiftUI, UIKit, native Android, or Flutter codebase for accessibility auditing. Use for /mapaccessibility, WordPress theme map, WordPress plugin map, PHP theme/plugin map, "binclusive projemi haritala", "wordpress temamı haritala", "wordpress eklentimi haritala", or to inventory routes, templates, admin pages, editor controls, shared components, dependencies, localization, and inline UI before an audit.