Dropdown menu
A dropdown menu displays a list of actions when a trigger is pressed.
import { ... } from '@ag.ds-next/react/dropdown-menu';This component implements the accessibility features specified in the Menu Button Pattern by the ARIA Authoring Practices Guide (APG).
ARIA roles
- The
DropdownMenuPanelcomponen uses the menu role - The
DropdownMenuGroupcomponent use the group role - The
DropdownMenuItemandDropdownMenuItemLinkcomponents use the menuitem role - The
DropdownMenuItemRadiocomponent use the menuitemradio role