ARIA Current Navigation State Auditor

Start with a caller-owned navigation snapshot. The auditor does not touch your DOM.

  1. Use Node 18 or newer.
  2. Run npm test.
  3. Copy examples/basic.mjs and replace its snapshot with yours.
  4. Review every error and warning with an accessibility owner before changing markup.

Minimal use

import { auditAriaCurrentNavigation } from "./src/index.js";
const report = auditAriaCurrentNavigation(groups);
if (!report.summary.pass) console.error(report.groups);

Use failOnWarning: true only when warnings are intended to block your own CI. Read README.md and INTEGRATION.md before production use.