Search results

Accessibility in Angular TreeMap component

17 Sep 2021 / 1 minute to read

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

This attribute provides the text label with some default description for the following elements in 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

You can change this default description using the description property available in Legend, TitleSettings, SubtitleSettings, and TreeMap objects. It helps screen readers to read for assistive purpose.