Accessibility in Vue Treemap component
16 Mar 20231 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 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.