NEURALNG

ACCESSIBILITY

Accessible disclosure groups

No custom role imitates a button; every header trigger is a real native button.

Semantics and relationships

Headers expose aria-expanded and aria-controls. Content regions use aria-labelledby; collapsed content is both aria-hidden and inert.

Keyboard

Enter and Space use native button activation. Arrow Down/Up wrap between enabled headers. Home and End focus the first and last enabled header.

Focus

Toggling content never steals focus. Disabled headers leave navigation and deterministic SSR-safe IDs preserve relationships through hydration.

Motion

Content and chevron transitions use component tokens and collapse to effectively immediate changes under prefers-reduced-motion.