Accessibility in Blazor TreeMap Component

24 Feb 20221 minute to read

The Blazor 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.

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.