|
|
Donner SVG 0.8.0-pre
SVG editor and embeddable C++20 engine.
|
Provides a human-readable, accessible name for its parent element or for the document as a whole.
The <title> element and its contents are never rendered as part of the graphic.
<title> is a descriptive element: it holds plain text that describes what its parent element represents. User agents typically expose this text as an accessible name (for screen readers) and may present it as a tooltip on hover. Only the first <title> child of an element is meaningful, and it should be the first child so assistive technology encounters it early.
The text is available programmatically via SVGTitleElement::textContent. Because the element is non-rendered, placing a <title> inside a shape (or anywhere else) never changes the rendered pixels.