1.2

Is every decorative image, without a caption, correctly ignored by assistive technologies?

WCAG Reference

WCAG 1.1.1

Tests

  1. 1.2.1

    Does each decorative image (<img> tag), without image caption, meet one of these conditions?

    The <img> tag has an empty alt attribute (alt="") and no other attribute to provide a text alternative.
    The <img> tag has a WAI-ARIA aria-hidden="true" attribute.
    The <img> tag has a role="presentation" or a role="none" attribute and does not have the title, aria-label, or aria-labelledby attributes.
  2. 1.2.2

    Does each non-clickable decoration area (<area> tag without href attribute), meet one of these conditions?

    The <area> tag has an empty alt attribute (alt="") and no other attribute to provide a text alternative.
    The <area> tag has a WAI-ARIA aria-hidden="true".
    The <area> tag has a role="presentation" or a role="none" attribute and does not have the title, aria-label, or aria-labelledby attributes.
  3. 1.2.3

    Does each decorative object image (<object> tag with type="image/..." attribute), without image caption, meet these conditions?

    The <object> tag has a WAI-ARIA aria-hidden="true" attribute.
    The <object> tag has no text alternative.
    There is no alternative text between <object> and </object>.
  4. 1.2.4

    Each decorative vector image (<svg> tag), without image caption, has a WAI-ARIA aria-hidden="true" attribute. Is this rule respected?

  5. 1.2.5

    Does each decorative bitmap image (<canvas> tag), without image caption, meet these conditions?

    The <canvas> tag has a WAI-ARIA aria-hidden="true" attribute.
    The <canvas> tag and its children have no text alternative.
    There is no text acting as a text alternative between <canvas> and </canvas>.
  6. 1.2.6

    Does each decorative embedded image (<embed> tag with type="image/..." attribute), without image caption, meet these conditions?

    The <embed> tag has a WAI-ARIA aria-hidden="true" attribute.
    The <embed> tag and its children have no text alternative.

WCAG Techniques

  • ARIA4
  • C9
  • F38
  • F39
  • G196
  • H67