AppAccordion

Sections that open and close (APG Accordion). Each header is a <button aria-expanded aria-controls> inside a real heading, so the page outline stays right. A panel opens at its full height at once and fades its content in (DESIGN-BIBLE §10: no height animation); closing is instant. Up, Down, Home and End move between headers; every header stays in the Tab order.

Install: pnpm add-component AppAccordion

Basic usage

One panel open at a time. Open panels are regions named by their header (up to six panels, as APG suggests).

Multiple, plain

API