## Managing the Focus


Focusable elements in the PromptBox are part of the page tabsequence. Those are:


 - `.k-prompt-box-input` (single-line mode);
 - `.k-prompt-box-textarea` (multi-line and auto modes);
 - all `.k-prompt-box-affix button` elements;

## Keyboard Shortcuts


This section lists the keyboard shortcuts supported by the PromptBox component.

| Shortcut | Behavior |
| -------- | -------- |
| `Enter` / `Return` | Submits the prompt. |
| `Shift` + `Enter` / `Return` | Inserts a new line in multi-line and auto modes |
| `Tab` | Moves focus to the next focusable element |
| `Shift` + `Tab` | Moves focus to the previous focusable element |

### Button Component

[Button  specification]({{button_kb_link}})

### Speech-to-Text Button Component

[Speech-to-Text Button  specification]({{speechtotextbutton_kb_link}})

### File Attachments


When the PromptBox includes file attachments, it must implement the keyboard navigation specification for the FileBox component.

[FileBox  specification]({{filebox_kb_link}})
