Accessibility in EJ2 TypeScript List box control
24 Jan 20244 minutes to read
The accessibility compliance for the ListBox component is outlined below.
|WCAG 2.2 Support
|Section 508 Support
|Screen Reader Support
|Mobile Device Support
|Keyboard Navigation Support
|Accessibility Checker Validation
|Axe-core Accessibility Validation
The ListBox component followed the WAI-ARIA patterns to meet the accessibility. The following ARIA attributes are used in the ListBox component:
|Indicates the ListBox component wrapper element as
UL element as
presentation, and its list item as
|Provides an accessible name for the ListBox component.
|Applied to the element with the ListBox role, tells assistive technologies that the list supports multiple selection. The default value is true.
|Applied to elements with role option that are visually styled as selected to inform assistive technologies that the options are selected.
The ListBox component followed the keyboard interaction guideline, making it easy for people who use assistive technologies (AT) and those who completely rely on keyboard navigation. The following keyboard shortcuts are supported by the ListBox component.
|To do this
|Moves focus to the previous option.
|Moves focus to the next option.
|Moves focus to first option.
|Moves focus to last option.
|Changes the selection state of the focused option.
|Ctrl + A
|Selects all options in the list.
|Ctrl + Shift + Home
|Selects the focused option and all options up to the first option.
|Ctrl + Shift + End
|Selects the focused option and all options down to the last option.
|Ctrl + (Up or Down)
|Press Ctrl key with up / down arrow or mouse to select multiple items.
The accessibility compliance of the ListBox component is shown in the following sample. Open the sample in a new window to evaluate the accessibility of the ListBox component with accessibility tools.