Accessibility in Blazor Maps Component

8 Sep 20211 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 MapsLegendTitle, MapsTitleSettings, MapsSubtitleSettings and SfMaps. It helps the screen reader to read for an assistive purpose.