Search results

Accessibility in Blazor TreeMap component

28 Jul 2021 / 1 minute to read

The TreeMap component provides built-in compliance with the WAI-ARIA specifications. The WAI-ARIA accessibility supports are achieved using attributes such as aria-label. It helps to provide information about the elements in a document for assistive technology.

Aria-label:

This attribute provides text label with some default description for the following elements in the TreeMap.

Element Default description
TreeMap container Reads the TreeMap description
TreeMap Title Reads the TreeMap title
TreeMap Subtitle Reads the TreeMap subtitle
Legend Title Reads the legend title

Change this default description using the Description property available in the TreeMapLegendSettings, TreeMapTitleSettings, TreeMapSubTitleSettings, and SfTreeMap. It helps screen readers to read for assistive purpose.