In this article, you’ll learn more about the rule type image-alt-text. See the table below:

Rule

image-alt-text

Description

Check that any image on a page has an "alt text" defined. This text is used as an alternative description by screen readers and other tools that can not display an image.

Ignore pages with label

scq-ignore-alt-text

Configuration options: none

Example Settings

# Check that images have an alternative text description.

rules:
  - rule: image-alt-text
    description: Add an alternative text description to images
    level: major
    # This rule requires no configuration.
YAML