New to Telerik UI for ASP.NET Core? Download free 30-day trial

ASP.NET Core ComboBox Keyboard Navigation

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE
  • Edit in Telerik REPL
HtmlHelper
TagHelper
Files:
keyboard_navigation.cshtml
Keyboard_NavigationController.cs
Keyboard_Navigation_TagHelper.cshtml

Also available for:

CLIENT-SIDE API HTML HELPER API

Description

Keyboard navigation provides all web and app users with a fast keyboard-only navigation capability and is also part of the web accessibility features—it enables users with disabilities to fully control their website or app access through the keyboard.

By default, users can only navigate to links, buttons, and form controls with a keyboard. The navigation order in which interactive items receive keyboard focus has to be logical and intuitive. Generally, keyboard navigation logic needs to follow the visual horizontal and vertical flow of the page, for example, left to right and top to bottom, header first followed by the main and then the page navigation.

The keyboard navigation supported by the ComboBox allows the user to open the popup, navigate through its items, select a desired item and close the popup using only the keyboard.

The ComboBox supports the following keyboard shortcuts:

Focus

Keyboard Legend

  • Up Arrow Highlights the previous item.
  • Down Arrow Highlights the next item.
  • Home Highlights the first item.
  • End Highlights the last item.
  • Page Up Scrolls the popup up.
  • Page Down Scrolls the popup down.
  • Enter Selects the highlighted item.
  • Esc Closes the popup, or clears the value if the popup is not opened.
  • Alt + Down Arrow Opens the popup.
  • Alt + Up Arrow Closes the popup.

Additional Apps

This ComboBox example is part of unique collection of hundreds of ASP.NET Core demos, with which you can see all Telerik ASP.NET Core components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in Telerik REPL for ASP.NET Core or ThemeBuilder.

Support & Learning Resources

Additional Resources