Search
MaterialComponentsDocs
Components overviewApp barBadgeButtonsButton groupButtonExtended FABFAB menuFABIcon buttonSplit buttonCardCarouselCheckboxChipsDate & time pickersDate pickerTime pickerDialogDividerListLoading & progressLoading indicatorProgressMenuNavigationNavigation barNavigation drawerNavigation railRadio buttonsSearchSelectSheetsBottom sheetSide sheetSliderSnackbarSwitchTabsText fieldToolbarTooltip

Navigation drawer

Explore a navigation drawer with destinations, section labels, and badges.

Your mailboxInboxFavoritesSent
FactoryWeb ComponentsReactVueSvelteSolidJS

Accessibility

  • A standard drawer is a navigation landmark, a modal one a dialog with aria-modal; both are named by ariaLabel, or the headline, or "Navigation". Name them when a page has more than one navigation landmark.
  • Each destination is a button in the tab order — a native <a> when it has an href — and the current one carries aria-current="page"; disabled ones are aria-disabled and out of the tab order. Dividers are separators.
  • An expandable section's row is a toggle with aria-expanded; a collapsed section's children are inert, out of the tab order and unreachable by the arrow keys. A section opens by itself to reveal the destination made active, setActive() included.
  • Up and Down move between destinations and wrap, Home and End go to the ends, and Enter or Space activates — on a section's row it toggles the section. ArrowRight and ArrowLeft open and close sections, following the reading direction.
  • A modal drawer keeps focus inside and the page behind inert until it closes.