Search results

Accessibility in ASP.NET Core Maps control

22 Oct 2021 / 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 component.
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 MapsCommonTitleSettings, MapsTitleSettings, MapsSubTitleSettings and Maps. It helps the screen reader to read for an assistive purpose.