Non UI canvas text alternative (non-ui-canvas)

Non UI <canvas> must have a descriptive aria-label or aria-labelledby. Decorative canvases use aria-hidden or role='presentation' instead.

This canvas violation has an aria-labelledby. Please note that an aria-label can also be used instead.

This canvas is hidden using aria-hidden. Please note that role="presentation" can also be used to hide decorative elements.

Meaningful canvas is hidden:

This <canvas> element has aria-hidden=”true”, even though this canvas is meaningful:


This canvas displays a red 3D ball with depth and lighting effects.

Note: Impossible to implement because it requires using AI / human to determine whether the canvas element is truly meaningful, and then ensuring that it does not have aria-hidden.