Skip to main content

ListBox

The ListBox component displays a list of items and allows selection, reordering, and transfer between two or more list boxes.

Accessibility Support

Out of the box, the Telerik and Kendo UI Listbox provides extensive accessibility support and enables users with disabilities to acquire complete control over its features.

The Listbox is compliant with the Web Content Accessibility Guidelines (WCAG) 2.2 standards and Section 508 requirements, follows the Web Accessibility Initiative - Accessible Rich Internet Applications (WAI-ARIA) best practices for implementing the keyboard navigation and provides options for managing its focus and is tested against the most popular screen readers.

ListBox

ARIA Attributes

AttributeDescription
role="listbox"Specifies the role of the ListBox list element.
role="option"Specifies the role of the ListBox item element.
aria-selected="true"|\"false"Set to true if the item is selected.
tabindexThe focused listbox item should have tabindex 0, all others -1.
role="toolbar"The toolbar is a collection of command buttons.
aria-controlsPoints to the id of the listbox element being controlled.
aria-multiselectablewhen multiple selection is enabled
idID for the listbox element; referenced by the toolbar aria-controls.

Keyboard Navigation

TriggerBehavior
F10Focuses the ListBox toolbar (the last focused or the first button in it).
SpaceSelects the focused ListBox Item
ArrowUpSelects the previous item.
ArrowDownSelects the next item.
Control/Cmd(Mac) + SpaceSelects or deselects an item.
Shift + ArrowUpAdds the previous item to the selected items.
Shift + ArrowDownAdds the next item to the selected items.
Control/Cmd(Mac) + ArrowUpMoves the focus to the previous item.
Control/Cmd(Mac) + ArrowDownMoves the focus to the next item.
DeleteDeletes the selected items.
Control/Cmd(Mac) + ArrowRightAdds the selected items to the connected ListBox.
Control/Cmd(Mac) + ArrowLeftAdds the selected items from the connected ListBox to the current one.
Control/Cmd(Mac) + Shift + ArrowUpShifts the selected items upwards.
Control/Cmd(Mac) + Shift + ArrowDownShifts the selected items downwards.
Control/Cmd(Mac) + Shift + ArrowRightTransfers all items to the connected ListBox.
Control/Cmd(Mac) + Shift + ArrowLeftTransfers all items from the connected ListBox.
ArrowRight or ArrowDownFocuses the next button in the toolbar.
ArrowLeft or ArrowUpFocuses the previous button in the toolbar.
EnterExecutes the currenly focused button command if enabled.

UX Behavior

FeatureDescription
SelectionItems are selected by clicking; multi-select with Ctrl/Shift.
ReorderItems are reordered using drag-and-drop or toolbar Up/Down buttons.
TransferItems are moved between two listboxes with toolbar action buttons.
FilteringAn optional search input filters the item list.

Testing

The Listbox has been extensively tested automatically with axe-core and manually with the most popular screen readers.

Screen Readers

The Listbox has been tested with the following screen readers and browsers combinations:

EnvironmentTool
FirefoxNVDA
ChromeJAWS
Microsoft EdgeJAWS

Resources

Feedback