Search results

Accessibility in React TreeMap component

22 Jul 2021 / 1 minute to read

The treemap control 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 tree map.

Element Default description
TreeMap container -
TreeMap Title Reads the tree map title
TreeMap Subtitle Reads the tree map 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.