Accessibility in Blazor Dropdown Tree Component
9 Jan 20243 minutes to read
The Dropdown Tree component has been designed, keeping in mind the
WAI-ARIA specifications, and applied the WAI-ARIA roles, states, and properties along with
keyboard support. This component is characterized by complete keyboard interaction support and ARIA accessibility support that makes it easy for people who use assistive technologies (AT) or those who completely rely on keyboard navigation.
The Dropdown Tree component uses the
Combobox role. The following
ARIA attributes denote the Dropdown Tree state.
|Indicates the availability and type of interactive popup element
|Indicates whether the popup list has expanded or not.
|Indicates the selected tree item.
|Indicates whether the Dropdown Tree component is in a disabled state or not.
|This attribute contains the ID of the popup list to indicate this element is controlled by the popup list element
You can use the following key shortcuts to access the Dropdown Tree without interruptions:
|Alt + Down arrow
|Opens the popup and move focus to TreeView.
|Alt + Up arrow
|Closes the popup.
|Focuses on the next TabIndex element on the page when the popup is closed. Otherwise, closes the popup list and remains the focus of the component.
|Shift + tab
|Focuses on the previous TabIndex element on the page when the popup is closed. Otherwise, closes the popup list and remains the focus of the component.
|Closes the popup when it is in an open state.
|Goes to the previous item in the popup.
|Goes to the next item in the popup.
|Expands the current item.
|Collapses the current item in the popup.
|Goes to the first item in the popup.
|Goes to the last item in the popup.
|Selects the focused item in the popup.
|Checks the current item in the popup.
|Over All Checkbox
|Checks all the items in popup