Back to Svgo

removeDesc

docs/04-plugins/removeDesc.mdx

4.0.1399 B
Original Source

Removes the <desc> element from the document in one of the following conditions:

  • The <desc> element is empty.
  • The <desc> element appears to only contain editor attribution.

This plugin does not remove the <desc> indiscriminately by default, as it is a crucial aspect of accessibility for users of assistive technologies.