1
0
mirror of https://github.com/svg/svgo.git synced 2026-01-27 07:02:06 +03:00
Files
svgo/docs/04-plugins/removeTitle.mdx
2024-06-16 00:10:42 +01:00

17 lines
972 B
Plaintext

---
title: removeTitle
svgo:
pluginId: removeTitle
---
Removes the [`<title>`](https://developer.mozilla.org/docs/Web/SVG/Element/title) element from the document.
This plugin may have significant accessibility implications. The purpose of `<title>` is to provide users of assistive technologies the means to get a summary of the SVG if they're not able to view it.
It can be sensible to remove the `<title>` element in one of the following scenarios:
- The SVG is purely aesthetic and has no impact on the user-experience.
- Accessibility is handled elsewhere, such as in the [`aria-label`](https://developer.mozilla.org/docs/Web/Accessibility/ARIA/Attributes/aria-label) or [`aria-describedby`](https://developer.mozilla.org/docs/Web/Accessibility/ARIA/Attributes/aria-describedby) attributes in an HTML document.
Consider doing the free [Introduction to Web Accessibility](https://www.w3.org/WAI/courses/foundations-course/) course by W3Cx for more information.