Accessibility in Blazor ListBox component
28 Jul 2021 / 2 minutes to read
aria-selected applied for ListBox element and selected elements in the ListBox. It helps the people with disabilities by providing information about the widget for assistive technology in the screen readers. ListBox component contains the
listbox role and
||This role will be specified for root element.
||Applied to the element with the ListBox role, tells assistive technologies that the list supports multiple selection. The default value is true.
||Identifies each selectable element containing the name of an option.
||Applied to elements with role option that are visually styled as selected to inform assistive technologies that the options are selected.
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.|