Keyboard
Enable or disable keyboard navigation — ArrowRight, ArrowLeft, Escape.
Keyboard control is enabled by default. Disable it for tours where keyboard input might interfere with the page.
Keys
| Key | Action |
|---|---|
ArrowRight | Next step |
ArrowLeft | Previous step |
Escape | Close the tour |
Enabled (default)
await borda.mount({
steps: [...],
tour: { hasKeyboardControl: false },
});