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

ASP.NET Core Diagram Keyboard Navigation

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE
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.

Keyboard navigation in the Telerik UI for ASP.NET Core Diagram is enabled by default. You can disable it by setting the Navigatable option with Disabled(true).

The Diagram supports the following keyboard shortcuts:

Focus & Navigation

  • Tab Focuses the diagram and the first shape.
  • Shift + Tab Focus previous element.
  • Previous shape/connection.
  • Next shape/connection.
  • Home First item.
  • End Last item.

Selection

  • Ctrl / Cmd + A Select all.
  • Escape Deselect all.

Movement (Small Step)

  • Ctrl / Cmd + Move up.
  • Ctrl / Cmd + Move down.
  • Ctrl / Cmd + Move left.
  • Ctrl / Cmd + Move right.

Movement (Large Step)

  • Shift + Ctrl / Cmd + Move up.
  • Shift + Ctrl / Cmd + Move down.
  • Shift + Ctrl / Cmd + Move left.
  • Shift + Ctrl / Cmd + Move right.

Editing

  • Ctrl / Cmd + C Copy.
  • Ctrl / Cmd + X Cut.
  • Ctrl / Cmd + V Paste.
  • Ctrl / Cmd + D Duplicate.
  • Delete Delete.

Actions

  • Ctrl / Cmd + Z Undo.
  • Ctrl / Cmd + Y Redo.
  • Ctrl / Cmd + L Apply layout.

Additional Apps

This Diagram 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