New to Telerik UI for Blazor? Download Free 30-day trial

Gantt - Keyboard Navigation

  • Keyboard-navigation.razor
  • GanttTaskDto.cs
  • GanttTaskService.cs
  • GanttDependencyDto.cs
  • GanttDependencyService.cs
Loading the demo source code...please wait.

Style in ThemeBuilder

  • Custom SASS variables
  • Atomic customizations
  • Sharing projects
Start Theming

Focus

  • Alt + W focuses the first component in the example

Supported keys and user actions

Managing Focus

Tree List

The Tree List implements the keyboard navigation specification for a TreeList component. You can refer to TreeList - Keyboard Navigation for its supported shortcuts.

Timeline

  • Home moves focus to first task.
  • End moves focus to the last task.
  • Up Arrow moves focus to previous task.
  • Down Arrow moves focus to next task.
  • Left Arrow scrolls the view to the left.
  • Right Arrow Scrolls the view to the right.
  • Enter opens the popup edit form to provide editing of the task.
  • Delete the task gets deleted.
  • Alt/Opt(Mac) + Left Arrow the task is collapsed, if it contains child tasks.
  • Alt/Opt(Mac) + Right Arrow the task is expanded, if it contains child tasks.

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.

To enable the keyboard navigation of the Telerik UI for Blazor Gantt set Navigable="true", as demonstrated in this demo.

This Blazor Gantt Keyboard Navigation example is part of a unique collection of hundreds of Blazor demos, with which you can see all Telerik UI for Blazor 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 Blazor or ThemeBuilder.

Support & Learning Resources

An error has occurred. This application may no longer respond until reloaded.