New to Telerik UI for Blazor? Download 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

Selector Attribute Usage
.k-grid-toolbar role=toolbar The toolbar is a collection of command buttons and inputs.
aria-label Clarifies the purpose of the toolbar.
aria-controls=.k-grid-aria-root id Pointing 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:

Selector Attribute Usage
.k-treelist .k-grid-aria-root role=treegrid Sets the proper role for the TreeList component.
.k-table-tbody .k-table-row aria-expanded=true/false Set 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-right aria-hidden=true Removes 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:

Environment Tool
Firefox NVDA
Chrome JAWS
Microsoft Edge JAWS

See Also

In this article