Search results

Accessibility in JavaScript (ES5) Maps control

20 Jan 2022 / 1 minute to read

Maps provides built-in compliance with the WAI-ARIA specifications. The WAI-ARIA accessibility support is achieved through the attribute like aria-label in the SVG element. It helps to provide information about elements in a document for assistive technology. This attribute sets the text label with some default description for the following elements in Maps.

Element Default description
Maps container Specifies the Maps control.
Maps title Specifies the title of the Maps.
Maps subtitle Specifies the sub-title of the Maps.
Legend title Specifies the title of legend in the Maps.

To change this default description, use the description property available in legendSettings, titleSettings, subtitleSettings and Maps. It helps the screen reader to read for an assistive purpose.