Back to Devexpress

Keyboard Support in Blazor Ribbon

blazor-405657-components-navigation-controls-ribbon-ribbon-keyboard.md

latest6.0 KB
Original Source

Keyboard Support in Blazor Ribbon

  • Jan 26, 2026
  • 4 minutes to read

Keyboard shortcuts allow users to move through Ribbon tabs, items, and drop-down menus and execute any command. Keyboard navigation is implemented on the client and works seamlessly even in Blazor Server apps with a slow connection.

Note

Keyboard support allows users to interact with application content in cases they cannot use a mouse or they rely on assistive technologies (like screen readers or switch devices). Refer to the Accessibility help topic for information on other accessibility areas that we address.

Run Demo

Available shortcuts depend on the focused Ribbon element.

Tab

The following shortcut keys are available when a Ribbon tab is focused:

Shortcut KeysDescription
TabMoves focus to the first enabled item in the tab’s content area.
Shift + TabMoves focus to the application tab (if present) or to the previous focusable element outside the Ribbon.
Right Arrow, Left ArrowMoves focus to the next or previous tab (except for the application tab).

Application Tab

The following shortcut keys are available when a Ribbon application tab is focused:

Shortcut KeysDescription
TabMoves focus to the active Ribbon tab header.
Shift + TabMoves focus to the previous focusable element outside the Ribbon.
Enter, Space, Alt + Down ArrowOpens the application tab menu and moves focus to its first item.
Enter, SpaceWhen the application tab menu or submenu is opened: Clicks the focused menu item.
Down Arrow, Up ArrowWhen the application tab menu or submenu is opened: Moves focus to the next/previous menu item.
Right ArrowFor a submenu item: Opens the submenu and moves focus to the first item.
Down Arrow, Up ArrowWhen a menu or submenu is opened: Moves focus to the next/previous menu item.
Home, EndWhen a menu or submenu is opened: Moves focus to the first/last menu item.
Alt + Up ArrowWhen a menu is opened: Closes the application tab menu and moves focus to the application tab.
Esc, Left Arrow\ *When a submenu is opened: * Closes the submenu and moves focus to its parent menu item.

Item

Available shortcuts depend on the focused Ribbon item type.

Common Shortcuts

Shortcut KeysDescription
TabMoves focus to the next focusable element outside the Ribbon.
Shift + TabMoves focus back to the active Ribbon tab header.
Right Arrow, Left ArrowMoves focus to the next/previous Ribbon item. Each part of a split drop-down button counts as a separate item.
HomeMoves focus to the first enabled item in the current tab.
EndMoves focus to the last enabled item in the current tab.

Button & Menu

Shortcut KeysDescription
Enter, SpaceClicks the focused button or selects/clears the toggle button.
For a drop-down item: Opens a drop-down menu and moves focus to its first item.
Alt + Down ArrowOpens a drop-down menu and moves focus to its first item.
Right ArrowFor a submenu item: Opens the submenu and moves focus to the first item.
Down Arrow, Up ArrowWhen a menu or submenu is opened: Moves focus to the next/previous menu item.
Home, EndWhen a menu or submenu is opened: Moves focus to the first/last menu item.
Alt + Up ArrowWhen a menu or submenu is opened: Closes the drop-down menu and moves focus to the corresponding Ribbon item.
Esc, Left Arrow\ *When a submenu is opened: * Closes the submenu and moves focus to its parent menu item.

Color Palette Drop-Down

Shortcut KeysDescription
Enter, SpaceSelects the focused color and closes the color palette drop-down.
Right Arrow, Left ArrowMoves focus to the next/previous color swatch.
Down Arrow, Up ArrowMoves focus to the next/previous color palette row.
Tab, Shift + TabMoves focus to the first item in the next/previous color group.
EscCloses the color palette drop-down.

Combo Box

Shortcut KeysDescription
EnterMoves focus to the input field.
EscMoves focus back to the parent element (Ribbon tab or drop-down menu).
Alt + Down ArrowWhen an input field is focused: Opens a drop-down list and moves focus to its first value.
EnterFor an editable combo box: Updates the EditText value and fires the EditTextChanged event.
Down Arrow, Up ArrowWhen a drop-down list is opened: Moves focus to the next/previous value.
Page Down, Page UpWhen a drop-down list is opened: Moves focus to a value on the next/previous page.
EnterWhen a drop-down list is opened: Selects the focused value and closes the combo box drop-down.
Esc, Alt + Up ArrowWhen a drop-down list is opened: Closes the drop-down and moves focus back to the combo box.

Spin Editor

Shortcut KeysDescription
EnterMoves focus to the input field.
EscMoves focus back to the parent element (Ribbon tab or drop-down menu).
Down Arrow, Up ArrowWhen an input field is focused: Increases/decreases the value by the specified increment.