Each container element or graphics element in an SVG drawing can supply a description string using the <desc> element where the description is text-only.

When the current SVG document fragment is rendered as SVG on visual media, <desc> elements are not rendered as part of the graphics. Alternate presentations are possible, both visual and aural, which display the <desc> element but do not display <path> elements or other graphics elements. The <desc> element generally improves accessibility of SVG documents.

Usage context

Categories Descriptive element
Permitted content Any elements or character data


Global attributes

Specific attributes


DOM Interface

This element implements the SVGDescElement interface.


Browser compatibilityUpdate compatibility data on GitHub

Chrome Edge Firefox Internet Explorer Opera Safari
Basic support 1 Yes Yes 9 8 3.1
Android webview Chrome for Android Edge Mobile Firefox for Android Opera for Android iOS Safari Samsung Internet
Basic support 3 18 Yes 4 Yes 3.1 ?

See also

© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.