canvas-text-alternative-quality

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

manualWCAG 1.1.1 (A)confidence: mediumseverity: minorperceivable

Flags <canvas> elements with a detected text alternative for human review of equivalence and appropriateness.

Applies to. Applies to <canvas> elements that already carry a text alternative: fallback content inside the element, an ARIA name, or a title. A <canvas> with none of those has no alternative whose quality could be judged; that's canvas-text-alternative-present's failure. 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
<canvas width="400" height="200">Bar chart</canvas>

The fallback text "Bar chart" is present but generic — worth confirming it conveys the actual data, not just the chart type.

n/a
<canvas width="400" height="200"></canvas>

No fallback content, ARIA name, or title exists to review; that's `canvas-text-alternative-present`'s failure instead.

View source