# Keyboard Navigation

The FloatingToolbar inherits the [keyboard support of the hosted Toolbar](https://www.telerik.com/kendo-vue-ui-develop/components/buttons/toolbar/keyboard-navigation). When `draggable` is set to `true`, it also adds keyboard Move mode.

The following example demonstrates the keyboard support of the FloatingToolbar.

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

## Keyboard Shortcuts

The tool-navigation shortcuts are available by default. Move mode shortcuts apply only when `draggable` is `true`.

### FloatingToolbar

| Shortcut             | Behavior                                                                                           |
| -------------------- | -------------------------------------------------------------------------------------------------- |
| `Tab`                | Moves focus to and from the FloatingToolbar, including its drag handle when `draggable` is `true`. |
| `Right Arrow`        | Focuses the next tool, wrapping to the first tool after the last.                                  |
| `Left Arrow`         | Focuses the previous tool, wrapping to the last tool before the first.                             |
| `Enter`              | Activates the focused button or changes the state of a toggleable button.                          |
| `Alt` + `Down Arrow` | Opens the popup of the focused DropDownButton or SplitButton.                                      |
| `Alt` + `Up Arrow`   | Closes the popup of the focused DropDownButton or SplitButton.                                     |

### Move Mode

When `draggable` is `true`, press `M` to enter Move mode, use the arrow keys to reposition the component, and confirm or cancel the new position.

| Shortcut                     | Behavior                                                                                        |
| ---------------------------- | ----------------------------------------------------------------------------------------------- |
| `M`                          | Enters Move mode from the focused drag handle or a hosted tool. Focus moves to the drag handle. |
| `Left Arrow` / `Right Arrow` | Moves the FloatingToolbar 10px left or right while Move mode is active.                         |
| `Up Arrow` / `Down Arrow`    | Moves the FloatingToolbar 10px up or down while Move mode is active.                            |
| `Escape`                     | Restores the position and anchoring from before Move mode began, then exits Move mode.          |
| `Enter` / `Space`            | Commits the current position and exits Move mode.                                               |

## Managing the Focus

The hosted Toolbar is a single tab stop. When `draggable` is `true`, the FloatingToolbar adds an independent tab stop for the drag handle before the hosted Toolbar. If the component is unmounted while it contains focus, focus returns to the element that was focused before it mounted.

## Resources

[WAI-ARIA Authoring Practices: Toolbar Pattern](https://www.w3.org/WAI/ARIA/apg/patterns/toolbar/)

## See Also

* [FloatingToolbar Accessibility](https://www.telerik.com/kendo-vue-ui-develop/components/buttons/floatingtoolbar/accessibility/wai-aria-support)
* [Accessibility in Kendo UI for Vue](https://www.telerik.com/kendo-vue-ui-develop/components/accessibility)
* [Accessibility Compliance and Keyboard Support in Kendo UI for Vue](https://www.telerik.com/kendo-vue-ui-develop/components/accessibility/accessibility-compliance)
