Each container element or graphics element in an SVG drawing can supply a desc
description string 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 improve accessibility of SVG documents
Usage context
Categories | Descriptive element |
---|---|
Permitted content | Any elements or character data. |
Example
Attributes
Global attributes
Specific attributes
There is no specific attributes
DOM Interface
This element implements the SVGDescElement
interface.
Specifications
Specification | Status | Comment |
---|---|---|
Scalable Vector Graphics (SVG) 2 The definition of '<desc>' in that specification. |
Working Draft | |
Scalable Vector Graphics (SVG) 1.1 (Second Edition) The definition of '<desc>' in that specification. |
Recommendation | Initial definition |
Browser compatibility
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|
Basic support | 1.0 | 1.5 (1.8) | 9.0 | 8.0 | 3.0.4 |
Feature | Android | Firefox Mobile (Gecko) | IE Phone | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|
Basic support | 3.0 | 1.0 (1.8) | Not supported | (Yes) | 3.0.4 |