Skip to main content

Keyboard Navigation

Complete guide to keyboard accessibility in Noor UI. All components are fully operable via keyboard without requiring a mouse.

Standard Keyboard Shortcuts

Tab

Move focus forward

All components
Shift + Tab

Move focus backward

All components
Enter / Space

Activate button or control

Buttons, checkboxes
Escape

Close dialog or menu

Dialogs, dropdowns
Arrow Keys

Navigate within component

Tabs, menus, radio groups
Home / End

Jump to first/last item

Lists, menus

Focus Management

Proper focus management ensures users can navigate efficiently:

Focus Trapping

Dialogs and modals automatically trap focus inside them until closed, preventing keyboard users from accidentally tabbing outside the modal.

Focus Indicators

All interactive elements show clear focus indicators:

Custom Keyboard Shortcuts

Implement custom shortcuts for power users:

Best Practices

  • Document all keyboard shortcuts in your app
  • Provide a shortcut help dialog (often Shift + ?)
  • Use platform conventions (Cmd on Mac, Ctrl on Windows/Linux)
  • Avoid conflicting with browser shortcuts
  • Allow users to customize shortcuts if possible

Roving Tabindex

Complex components use roving tabindex for efficient navigation:

Component-Specific Shortcuts

Dialog

  • Escape - Close dialog
  • Focus trapped within dialog when open
  • Auto-focus first focusable element on open

Tabs

  • - Navigate between tabs
  • Home End - Jump to first/last tab
  • Automatically activates on arrow key press

Select / Dropdown

  • - Navigate options
  • Enter - Select option
  • Escape - Close without selecting
  • Type to search options

Learn More