# Keyboard Navigation

The keyboard navigation of the AIPrompt is always available.

For a runnable example, refer to the [demo on using the keyboard navigation of the AIPrompt](https://demos.telerik.com/aspnet-mvc/aiprompt/keyboard-navigation).

The AIPrompt supports the following keyboard shortcuts:

| SHORTCUT                      | DESCRIPTION                                                                                                                                                          |
| :---------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `Enter` or `Space`            | When the toolbar is focused—selects the focused view. When a panel item is focused—expands or collapses the item. When a button is focused—triggers the click event. |
| `Tab`                         | Navigates to the next structure element of the AIPrompt—either the header, the content, or the footer element.                                                       |
| `Shift + Tab`                 | Navigates to the previous structure element of the AIPrompt—either the header, the content, or the footer element.                                                   |
| `Right Arrow` or `Left Arrow` | Navigates to the next/previous view button when the toolbar is focused.                                                                                              |
| `Up Arrow` or `Down Arrow`    | Navigates to the next/previous item when a panel is focused.                                                                                                         |

## See Also

* [Custom Keyboard Navigation in the AIPrompt for ASP.NET MVC](https://www.telerik.com/aspnet-mvc/documentation/html-helpers/conversational-ui/aiprompt/accessibility/custom-keyboard-navigation)
* [Keyboard Navigation by the AIPrompt HtmlHelper for ASP.NET MVC (Demo)](https://demos.telerik.com/aspnet-mvc/aiprompt/keyboard-navigation)
* [Accessibility in Telerik UI for ASP.NET MVC](https://www.telerik.com/aspnet-mvc/documentation/accessibility/overview)
