disclosure

A button that shows or hides a section of content, with aria-expanded on the button and aria-controls pointing at the section.

In more detail

Disclosures are the simplest show-and-hide pattern: Enter or Space toggles them and focus stays on the button. An accordion is a stack of disclosures; a FAQ page is a typical use.

Related terms

Taught in

References