DropdownMenüs
DropdownMenüs are a user interface control that presents a list of options hidden by default and revealed when the control is activated. They are used in websites, software, and mobile apps to conserve space while offering multiple actions. They differ from native HTML select elements by allowing custom styling and more flexible behavior.
Activation can be via mouse click or touch, or keyboard input. The common pattern is a trigger
Accessibility and semantics: Use roles such as role="menu" and role="menuitem" or aria-labels, ensure focus remains visible,
Implementation notes: In web environments, a typical pattern uses a button with aria-haspopup and aria-expanded controlling
Variations and usage: Simple dropdown attached to a control, split or mega menus, and context-specific menus.