New to Telerik UI for BlazorStart a free 30-day trial

Blazor TreeList Accessibility

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

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

WAI-ARIA

This section lists the selectors, attributes, and behavior patterns supported by the component and its composite elements, if any.

The TreeList is a composite component that consists of 2 logically separated structural elements:

  • Toolbar (role=toolbar);
  • Tree Grid (role=treegrid);

TreeList Toolbar

TreeList Toolbar follows the specification of the ToolBar component.

ToolBar accessibility specification

SelectorAttributeUsage
.k-grid-toolbarrole=toolbarThe toolbar is a collection of command buttons and inputs.
aria-labelClarifies the purpose of the toolbar.
aria-controls=.k-grid-aria-root idPointing to the id of the element with role=treegrid.

Tree Grid

The element with role=treegrid must not include the ToolBar element as it does not belong to the role=treegrid element itself. It implements the ARIA specification for the Grid component with some exceptions listed below.

Grid accessibility specification

The below table lists the ARIA requirements for the TreeList which are not present in the Grid specification:

SelectorAttributeUsage
.k-treelist .k-grid-aria-rootrole=treegridSets the proper role for the TreeList component.
.k-table-tbody .k-table-rowaria-expanded=true/falseSet on the currently expanded row(s).
.k-table-tbody .k-i-caret-alt-down,.k-table-tbody .k-i-caret-alt-right,.k-table-tbody .k-svg-i-caret-alt-down,.k-table-tbody .k-svg-i-caret-alt-rightaria-hidden=trueRemoves the expand/collapse icon from the accessibility tree.

Resources

WAI-ARIA specification for tree grid

Section 508

The TreeList is fully compliant with the Section 508 requirements.

Testing

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

To report any accessibility issues, contact the team through the Telerik Support System.

Screen Readers

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

EnvironmentTool
FirefoxNVDA
ChromeJAWS
Microsoft EdgeJAWS

Keyboard Navigation

For details on how the TreeList keyboard navigation works, refer to the Blazor TreeList Accessibility and Keyboard Navigation Demo.

See Also