vocab.design

component

Disclosure

also called collapsible (radix), show hide (aria-apg), expandable section (cloudscape), details (mdn), expander (community), disclosure control (hig)

A single button that shows and hides one region of content, reporting its state through aria-expanded.

A disclosure is the smallest expandable thing there is: one button, one region, and no relationship to any other button on the page. That independence is what separates it from an accordion, where opening one section is allowed to close another. Nothing coordinates a disclosure except the person pressing it.

The state lives on the button, not on the region. The button carries aria-expanded="true" or "false" and aria-controls pointing at the region’s id, so a screen reader announces “collapsed” or “expanded” before anyone commits to the press. A chevron or triangle that rotates is the visual half of the same sentence, and it is only ever decoration: if the icon is the only thing that changed, the pattern is not implemented.

HTML ships this as <details> and <summary>, which gets the semantics right for free and is worth reaching for whenever the content is genuinely inert. Custom implementations exist mostly because animating the browser’s own version was awkward for years, and because a disclosure often needs to sit inside a control that already handles its own keyboard.

Two habits break it. Hiding the region with opacity or a zero height while leaving it in the accessibility tree means assistive technology reads content the button claims is gone, so use hidden, display: none, or content-visibility. And putting anything a reader needs in order to decide (a price, a required field, an error) behind the button turns a disclosure into a trap.

Which word?

If you wantsay
one control hiding one regiondisclosure
the little triangle that opens a branchdisclosure triangle
keeping advanced options one click away instead of on screenprogressive disclosure
expanding text that was cut off after n linesshow more toggle
row detail that opens in place under the rowexpandable row
a stack of sections, each opening in placeaccordion

Related

See also: Expanded state

Implementations

Specimens illustrate the concept; for production use, start here.

aria-apgDisclosure (Show/Hide)
base-uiCollapsible

Sources