Donner SVG Editor & Engine
SVG-native editor and embeddable SVG2 + CSS3 engine in C++20, with GPU (WebGPU) and compact CPU renderers, built for correctness, security, and performance.
Loading...
Searching...
No Matches
"<title>"

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.

<svg width="100" height="100">
<circle cx="50" cy="50" r="40">
<title>A blue circle</title>
</circle>
</svg>

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.