Accessibility in EJ2 TypeScript Linear gauge control

19 Apr 20231 minute to read

Linear Gauge 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 descriptions for the following elements in the Linear Gauge.

Element Default description
Gauge title Specifies the title of the Linear Gauge.
Pointer value Specifies the value of the pointer in the Linear Gauge.

To change this default description, use the description property available in pointer and LinearGauge. It helps the screen reader to read for an assistive purpose.