Disclosure Nav
The APG disclosure navigation pattern: a nav landmark whose top-level buttons ( `aria-expanded`/`aria-controls`) show and hide groups of links. Only one group is open at a time; Escape closes the open group and returns focus to its button.
- Axe
- Focus
Preview
Installation
npx shadcn@latest add https://ui.publictheta.com/r/disclosure-nav.jsonConformance
Verified against the @publictheta/ui-spec disclosure-nav specification on both the React and vanilla reference implementations, across Chromium, Firefox, and WebKit.
- Axe — No WCAG 2 A/AA axe-core violations
- Focus — A visible focus indicator appears on keyboard focus (WCAG 2.4.7)
See the full conformance matrix across all components.