dropdown

A menu that opens to show a list of options when a button is activated, and closes when you pick one or click elsewhere.

In more detail

An accessible dropdown opens from a button, supports the arrow keys and closes with Escape. Closing on an outside click is a common use of document-level listeners and the capturing phase.

Related terms

Taught in

References