Accessibility in Blazor Toolbar Component
23 Jan 20232 minutes to read
The Blazor Toolbar component has been designed, keeping in mind the WAI-ARIA specifications, and applying the WAI-ARIA roles, states and properties along with keyboard support for people who use assistive devices. WAI-ARIA accessibility support is achieved through attributes like
aria-orientation, It provides information about elements in a document for assistive technology. The component implements keyboard navigation support by following the WAI-ARIA practices, and has been tested in major screen readers.
The Toolbar element is assigned the role of
|Attribute is set to the ToolBar element describes the actual role of the element.
|Attribute is set to the ToolBar element to indicates the ToolBar orientation. Default value is
|Attribute is set to ToolBar element describes the purpose of the set of toolbar.
|Attribute is set to the ToolBar Popup element to indicates the expanded state of the popup.
|Attribute is set to the popup element to indicates the popup mode of the Toolbar. Default value is false. When popup mode is enabled, attribute value has to be changed to
|Attribute set to the ToolBar element to indicates the disabled state of the ToolBar.
Keyboard navigation is enabled, by default. Possible keys are:
|Focuses the previous element.
|Focuses the next element.
|When focused on a ToolBar command, clicking the key triggers the click of Toolbar element. When popup drop-down icon is focused, the popup opens.
|Focuses the next popup element.
|Focuses the previous popup element.