Rules / image rules

image.alt.content.undefined

Default
error
Plugin
image

The alt text does not include the word undefined.

Why: undefined in alt text is almost always a template bug, such as a missing variable.

When off: alt text with undefined passes.

<!-- ✗ Fails -->
<img src="/bread.jpg" alt="undefined" />

<!-- ✓ Passes -->
<img src="/bread.jpg" alt="Bread" />

References