Missing SVG Accessible Name Check

RuleSets of AccessMonitor - the validator of web accessibility practices

Missing SVG Accessible Name Check

Description

The “Missing SVG Accessible Name Check” evaluates whether there is any <svg> element with an explicit ARIA role without an accessible name.

Example outcome

I identified 1 <svg> element with an explicit role without an accessible name.

Impact

Fixes

To address <svg> elements with an explicit role missing an accessible name:

  1. Locate the <svg> element missing an accessible name.
  2. Add an accessible name to the element (i.e., add to it one of the attributes aria-label and aria-labelledby), providing a description of the function or content of the image.
  3. If it is purely decorative, simply remove the role from it.

Resources