Search results

Accessibility in ASP.NET Core Maps control

30 Jul 2021 / 1 minute to read

Maps provides built-in compliance with the WAI-ARIA specifications. WAI-ARIA accessibility supports are achieved through the attributes like aria-label. It helps users to provide information about elements in a document for assistive technology.

Aria-label: Attribute provides text label with some default description for the following elements in maps.

Element Default description
Maps container -
Maps title Reads maps title
Maps subtitle Reads maps subtitle
Legend title Reads legend title

You can change this default description using the description property in Legend, TitleSettings, SubtitleSettings and Maps objects. It helps the screen reader to read for assistive purpose.