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

Keyboard Support

A critical requirement for software accessibility is keyboard support as a complete alternative to pointing devices (mouse, etc.). Keyboard support is comprised of command key, focus key, and keyboard navigation. RadTabStrip seamlessly switches between mouse and keyboard navigation.

Setting the control's KeyboardNavigationSettings (introduced in R2 2016 - ver.2016.2.504), allows you to associate an activation combination (CommandKey + FocusKey), which moves focus directly to the RadTabStrip and enables keyboard navigation. When there are multiple RadTabStrip controls on a given page, each of them may have a different activation combination.

Keyboard Navigation Settings

The KeyboardNavigationSettings exposes two properties to configure the keyboard combination that sets focus to the control:

  • FocusKey: An upper-case letter or number.

  • CommandKey: [Ctrl] , [Alt] or [Shift].

Pressing the keys set to these two properties at the same time places the focus on the RadTabStrip. The user can then use the arrow keys for navigation.

Note that in some browsers certain keyboard combinations are already occupied and used by the browser itself.

Keyboard Support

<telerik:RadTabStrip ID="RadTabStrip1" runat="server" SelectedIndex="0" RenderMode="Lightweight">
    <KeyboardNavigationSettings CommandKey="Alt" FocusKey="T" />
        <telerik:RadTab Text="Examples">
        <telerik:RadTab Text="Configurator">
                <telerik:RadTab Text="Default"></telerik:RadTab>
                <telerik:RadTab Text="Test"></telerik:RadTab>
                <telerik:RadTab Text="Final"></telerik:RadTab>
        <telerik:RadTab Text="Quick Start">
        <telerik:RadTab Text="Help">
                <telerik:RadTab Text="Search"></telerik:RadTab>
                <telerik:RadTab Text="Topics"></telerik:RadTab>
                <telerik:RadTab Text="Troubleshooting"></telerik:RadTab>
        <telerik:RadTab Text="Purchase">

Keyboard Navigation

Once the RadTabStrip is focused by pressing [CommandKey] + [FocusKey] keyboard navigation is supported by using the arrow keys:

  • Navigate among RadTabs using Left and Right arrows: Left right arrows.

  • Perform a click on the active RadTab and expand its children tabs (if any exist) by pressing Enter: Enter.

  • Navigate from parent tab to its children using Down arrow: Down arrow.

  • Navigate back to the parent tab using Up arrow: Up arrow.

  • Navigate among the children tabs using Left and Right arrows: Left right arrows.

In this article