# Keyboard Navigation

The keyboard navigation of the SegmentedControl is available by default.

The SegmentedControl supports the following keyboard shortcuts:

<table>
    <colgroup>
        <col width="170" />
        <col />
    </colgroup>
    <thead>
        <tr>
            <th>Shortcut</th>
            <th>Description</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td><code>Tab</code></td>
            <td>Moves focus into the SegmentedControl to the selected segment. Pressing <code>Tab</code> again moves focus to the next focusable element on the page.</td>
        </tr>
        <tr>
            <td><code>Shift</code> + <code>Tab</code></td>
            <td>Moves focus out of the SegmentedControl to the previous focusable element on the page.</td>
        </tr>
        <tr>
            <td><code>Right Arrow</code></td>
            <td>Moves focus to the next segment.</td>
        </tr>
        <tr>
            <td><code>Left Arrow</code></td>
            <td>Moves focus to the previous segment.</td>
        </tr>
        <tr>
            <td><code>Enter</code> &amp; <code>Space</code></td>
            <td>Selects the focused segment.</td>
        </tr>
    </tbody>
</table>

The following example demonstrates the keyboard navigation of the SegmentedControl. The control includes a disabled segment and sits between two buttons, so that you can see how `Tab` and `Shift` + `Tab` move focus in and out of the control.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/buttons/segmentedcontrol/keyboard-navigation/source.txt)

## Navigation Behavior

The SegmentedControl uses a roving tab index. Only one item is part of the page tab sequence at a time. The focused item is the tab stop while focus is inside the control, and the selected item is the tab stop when focus is outside.

* Focus does not wrap. Pressing `Right Arrow` on the last item or `Left Arrow` on the first item keeps focus on the current item.
* Moving focus with the arrow keys does not change the selection. To select the focused item, press `Enter` or `Space`.
* In [right-to-left](https://www.telerik.com/kendo-angular-ui-develop/components/buttons/globalization) mode, the `Left Arrow` key moves focus to the next segment and the `Right Arrow` key moves focus to the previous segment.

### Disabled Items

[Disabled items](https://www.telerik.com/kendo-angular-ui-develop/components/buttons/segmentedcontrol/disabled-state) remain focusable with the arrow keys, so that keyboard users are made aware of their presence and state. Pressing `Enter` or `Space` on a disabled item does not select it.

## Suggested Links

* [API Reference of the SegmentedControl](https://www.telerik.com/kendo-angular-ui-develop/components/buttons/api/segmentedcontrolcomponent)
* [Disabled Items in the SegmentedControl](https://www.telerik.com/kendo-angular-ui-develop/components/buttons/segmentedcontrol/disabled-state)
* [Accessibility of the SegmentedControl](https://www.telerik.com/kendo-angular-ui-develop/components/buttons/segmentedcontrol/accessibility)
