Skip to main content Home About the Design SystemRoadmap OverviewDesignersDevelopers OverviewColorGridIconographyInteractionsSpacingTypography Overview Global colorBox shadowTypographyBorderOpacitySpaceLengthIconBreakpointsMedia queries All elements Accordion Alert Announcement Audio player Avatar Back to top Badge Blockquote Breadcrumb Button Card Chip Code block Call to action Dialog Disclosure Footer Health index Icon Jump links Menu dropdown Navigation link Navigation (primary) Navigation (secondary) Navigation (vertical) Pagination PopoverPlanned Progress stepper Scheme toggle Site status Skeleton Skip link Spinner Statistic Subnavigation Surface Switch Table Tabs Tag Tile Timestamp Tooltip Video embed OverviewColor PalettesCustomizingDevelopers All PatternsAccordionCall to ActionCardFilterFormLink with iconLogo wallSearch barSticky bannerSticky cardTabsTagTile All Personalization PatternsAnnouncement FundamentalsAccessibility toolsAssistive technologiesCI/CDContentContributorsDesignDevelopmentManual testingResourcesScreen readers Design/code status Release notes Get support

Menu dropdown

OverviewStyleGuidelinesCodeAccessibilityDemos
Keyboard interactionsFocus orderTouch targetsAdditional guidelinesARIA Authoring Practices Guide (APG)Web Content Accessibility GuidelinesKeyboard interactionsFocus orderTouch targetsAdditional guidelinesARIA Authoring Practices Guide (APG)Web Content Accessibility Guidelines

Keyboard interactions

Buttons, page input field, and last page link all have keyboard interactions when the Enter key is pressed.

Diagram showing the keyboard interactions for an expanded menu dropdown.
Key Result
Tab
  • Moves focus to the menu dropdown
  • Collapses an expanded menu dropdown when focus leaves the expanded menu dropdown
Enter/Space
  • Expands menu dropdown
  • Triggers an action or navigates the user somewhere else
Down/Right
  • Moves focus to the next interactive menu item
Up/Left
  • Moves focus to the previous interactive menu item

Focus order

A logical focus order helps keyboard users operate our websites. Elements need to receive focus in an order that preserves meaning, therefore the focus order should make sense and not jump around randomly.

Diagram showing the focus order for an expanded menu dropdown.

Touch targets

All toggles and menu items exceed the WCAG Level AA success criteria for target size, which calls for touch targets to be at least 24px by 24px.

Diagram showing the touch target size in relation to a menu toggle and menu items.

Additional guidelines

  • A compact toggle requires a descriptive aria-label to communicate its purpose to screen readers.

ARIA Authoring Practices Guide (APG)

Learn to use the accessibility semantics defined by the Accessible Rich Internet Application (ARIA) specification to create accessible web experiences.

View APG resources

Web Content Accessibility Guidelines

Understanding documents provide detailed explanations for Web Content Accessibility Guidelines (WCAG) guidelines and success criteria.

© 2025 Red Hat Deploys by Netlify