Role img text alternative (image-role)

Elements with role="img" requires a descriptive aria-label, aria-labelledby, or title attribute. If the image is decorative, use aria-hidden="true" instead.


Missing accessible name:

This <div role="img"> element visually displays an image but has no text alternative:

The background image is present, but screen readers cannot describe it because the element has no aria-label, title, or other naming mechanism.

Note: Possible to automatically text. Can be done by checking for role="img" elements that lack an accessible name via aria-label, aria-labelledby, or title attribute.

axe detected: 1.1.1  |  QualWeb detected: 1.1.1