Skip to main content
Skip table of contents

Image Alt Text

Description

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

Configuration options: none

Advanced Mode Example

YAML
# Check that images have an alternative text description.

rule: image-alt-text
level: minor
disabled: false
description: >-
  Adding alt text to your images helps readers with visual impairments to
  understand the image and is also good for SEO.

  When writing alt text, explain both the context and the content of the image.

# This rule requires no configuration.

 

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.