Skip to main content

Keyboard Support

This document provides requirements for making UIs compliant with keyboard accessibility guidelines.


Checklist

Use these checklists to make the UI compliant. Related items are grouped together for easier understanding.

1. Tab Chain

Item
Page contains tab chains and elements can be focused by keyboard controls
Elements in the tab chain are grouped and groups can be navigated with keyboard controls
Tab chains are expanded with static content for extra accessibility
Focus can be moved inside elements with embedded navigation options
Focus can be moved inside the elements of a container
Selection in lists and grids can be made using keyboard controls
Complex layouts can be navigated with Tab and Arrow keys
Complex components can be navigated by keyboard controls

2. Item Actions

Item
Elements with actions can be triggered by keyboard controls
Selection inside a grid-like interface is supported by keyboard controls
The selected value of list-based inputs can be changed without opening the list
Expandable/collapsible elements can be opened and closed with keyboard controls
Tooltips can be displayed or hidden with keyboard controls
Drill-down details for an element can be accessed with keyboard controls
Contextual menus can be operated with keyboard controls
Deletable items can be deleted using keyboard controls
Lists of properties for objects can be edited with keyboard controls

3. Text Editing

Item
Text cursor can be moved with keyboard controls
Editable elements can be edited using only keyboard controls
Text editors support paragraph navigation with keyboard controls
Text inputs that require specific case are automatically formatted

4. Navigation

Item
Multi-step interfaces can be navigated with keyboard controls
Dialogs can be cancelled or accepted by keyboard controls
Floating elements can be closed with the Escape key
Pagination can be used without moving focus to it

5. Scrolling and Zooming

Item
The layout adapts to resizing and zooming
Scrollable containers can be scrolled using keyboard controls
Pages and canvases can be zoomed using keyboard controls
Draggable canvases can be navigated with keyboard controls

6. Special

Item
Media players support keyboard controls
Scrubbing interfaces can be accessed with keyboard controls

Details

Tab Chain

Elements are tabbable and a tab chain exists on the page. A tab chain should be structured like reading order: left to right, then the next line.

KeysAction
TabMove focus forward
Shift + TabMove focus backward

Scrollable containers should auto-scroll so focused elements remain visible.

Tab Chain Groups

KeysAction
Ctrl + Tab or F6Move focus to the next group
Ctrl + Shift + Tab or Shift + F6Move focus to the previous group

Selection in Lists and Grids

KeysAction
Left arrowMove focus left/backward
Right arrowMove focus right/forward
Up arrowMove focus up
Down arrowMove focus down
HomeMove focus to first item
EndMove focus to last item

Activating Elements

KeysAction
Spacebar or EnterActivate focused element
EnterActivates the default button in a dialog
Escape while Spacebar is pressedCancel activation

Links:

KeysAction
EnterOpen link in same window
Shift + EnterOpen link in new window
Ctrl + EnterOpen link in new tab

Deletion

KeysAction
DeleteDelete selected items or character after cursor
BackspaceDelete selected items or character before cursor

Drill-Down

KeysAction
F2Activate UI element action (equivalent to double click)
EnterStart an underlying action or dialog
Alt + EnterOpen properties dialog

Escape

Press Escape to return to a safe state — cancels dialogs, closes popover lists and panels.

Focus Into Element with Navigation

Automatic focus switching when navigating into a child element:

  • Window/page: default or last focus location
  • Dialog: first interactive or autofocus element
  • Containers: first interactive or autofocus element
  • List-like elements: first item

Editable Elements

KeysAction
F2Invoke inline editing
Enter or TabAccept changes
EscapeRevert changes
DeleteDelete character after cursor
BackspaceDelete character before cursor

Expand/Collapse

KeysAction
Right arrowExpand and move focus to first child
Left arrowCollapse and move focus to parent
+ or Numpad +Expand without moving focus
- or Numpad -Collapse without moving focus

Grid Selection

KeysAction
Ctrl + SpaceSelect entire column
Shift + SpaceSelect entire row
Ctrl + ASelect all items

Contextual Menus

KeysAction
ContextMenu key or Shift + F10Open context menu
EscapeClose menu
Up arrow / Down arrowMove focus within menu
EnterActivate focused item

Tooltips

KeysAction
Shift + Ctrl + IShow/hide tooltip for focused element

List Quick Access

KeysAction
Left arrowSelect previous item
Right arrowSelect next item

Dialogs

KeysAction
EnterAccept and close dialog
EscapeCancel and close dialog

Multi-Step Navigation

KeysAction
EnterNavigate to next step
EscapeCancel wizard and close dialog
Shift + EnterNavigate to previous step

Pagination

KeysAction
Ctrl + PageDownNext page
Ctrl + PageUpPrevious page

Text Cursor

Move the cursor with Arrow keys, Home, End, Ctrl + Left, and Ctrl + Right (word step).

Paragraph Navigation

KeysAction
Ctrl + Up ArrowMove to previous paragraph
Ctrl + Down ArrowMove to next paragraph

Scrollable Containers

KeysAction
Arrow keysScroll in a specific direction
Spacebar / Shift + SpacebarScroll down / up

Canvas Zooming

KeysAction
Ctrl + +Zoom in
Ctrl + -Zoom out
Alt + Ctrl + 0Default zoom level

Canvas Panning

KeysAction
Arrow keysDirectional scrolling
PageDown / PageUpScroll one page down/up
Alt + PageDown / PageUpScroll one page right/left

Media Players

KeysAction
Spacebar or PPlay/pause
+ / -Increase/decrease volume
MMute/unmute
Left arrow / Right arrowPrevious/next frame
PageDown / PageUpNext/previous chapter
Ctrl + Home / EndJump to beginning/end