SVG images that are significant to the publication should always include embedded titles
(title
) and descriptions (desc
) to aid readers using assistive
technologies.
The description provided should be commensurate with the information contained in the image: use
alt
-like descriptions for simple images and longer descriptions for complex ones.
If an SVG image is purely decorative, do not include a title or description. The SVG element should
additional be identified as presentational using the ARIA role
attribute.
All significant graphical components within the SVG image should contain their own title and/or description to improve the overall accessibility of the image.
See also Example 2.2 in the Accessibility Features of SVG W3C Note for an example showing component titles and descriptions.