The TreeMap component provides built-in compliance with WAI-ARIA specifications. The 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.
Aria-label:
This attribute provides text label with some default description for the following elements in TreeMap.
Element | Default description |
TreeMap container | - |
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 TreeMapLegendSettings
, TreeMapTitleSettings
, TreeMapSubTitleSettings
, and SfTreeMap
tags. It helps screen readers to read for assistive purpose.