New to Telerik UI for Blazor? Download Free 30-day trial
Splitter - Keyboard Navigation
- EXAMPLE
- VIEW SOURCE
- EDIT IN TELERIK REPL
- Change Theme
default
Pane 1
Hold the left or right arrow to resize the splitter bar or press Enter
to collapse it.
Pane 2
Hold the left or right arrow to resize the splitter bar or press Enter
to collapse it.
Pane 3
You can resize this pane too. Since the nearest pane to a split bar is Pane 2, you cannot collapse this pane, but you can resize it to a zero size because it does not have a Min
setting.
- Keyboard-navigation.razor
Focus
Supported keys and user actions
Notes
- The splitter panes render a
tabIndex="0"
so they are focusable and the browser adds them to the "tab" sequence. - Double-click on a splitter bar, or pressing
Enter
when it is focused, collapses the closest collapsible pane (usually the one before the bar). Clicking or tapping the directional arrows on the bar lets you choose which pane to collapse.
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 of the Telerik UI for Blazor Splitter is always enabled, as demonstrated in this demo.