svg-text-alternative-quality

<svg> text alternative must be appropriate (manual review)

manualWCAG 1.1.1 (A)confidence: mediumseverity: minorperceivable

Flags applicable <svg> graphics with a detected text alternative for human review of appropriateness.

Applies to. Applies to inline <svg> elements that already carry a text alternative: non-empty <title> or <desc> text, a non-empty aria-label, or an aria-labelledby that resolves to non-empty text. <desc> counts here as something to review even though it never contributes to the accessible name: that distinction is svg-text-alternative-present's. The element must be included in the accessibility tree, and role="presentation"/"none" takes it out of scope unless it is focusable, which restores its role.

Expectation. Human review is required to confirm that the provided text alternative is accurate and appropriate.

Examples

can't tell
<svg role="img" viewBox="0 0 24 24"><title>Growth chart</title><path d="M0 0h24v24H0z"/></svg>

A `<title>` is present — worth confirming "Growth chart" describes what the chart actually shows, not just that it's a chart.

n/a
<svg role="img" viewBox="0 0 24 24"><path d="M0 0h24v24H0z"/></svg>

No `<title>`/`<desc>` text, aria-label, or resolved aria-labelledby exists to review; that's `svg-text-alternative-present`'s failure instead.

View source