|
/ Documentation /SEO settings/ Image Alt Text – Automatic Optimization

Image Alt Text – Automatic Optimization

Adding alt text (alternative text) to images is a crucial SEO practice. It helps search engines understand what your images represent, which can boost your visibility in image searches. Alt text also improves accessibility for users who rely on screen readers.

However, it’s easy to forget to add alt text during the image upload process. That’s where SureRank steps in.

How SureRank Helps

When automatic image alt text is enabled, SureRank can add fallback alt text to rendered image markup using a cleaned image filename. This does not update the Media Library attachment’s saved alt text.

This functionality applies to:

  • Featured images: Check the rendered markup and provide descriptive alt text for informative images.
  • Post content images: Eligible images can receive fallback alt text when the content is rendered.

Automatic text is a fallback, not a substitute for reviewing images in context.

Why This Matters

  • SEO Boost – Search engines index image content more effectively when descriptive alt text is available.
  • Accessibility – Users with visual impairments rely on alt text to understand the context of images.
  • Better User Experience – If an image fails to load, alt text provides a fallback description.

Alt Text Auto-Generation

SureRank treats missing and empty alt attributes as candidates for fallback text. Review informative images and describe their purpose in context. Decorative images should use alt=””; disable automatic image alt text if it would overwrite intentional empty attributes, and verify the rendered page source.

alt text auto generation

Disabling Automatic Alt Text

To manage alt text manually, disable “Optimize Image SEO without AI” in SureRank → Advanced → Image SEO. The optional filter below disables both automatic image alt and title enhancements.
Add the following code to your child theme’s functions.php file or a custom plugin:

PHP
// Disable automatic image alt and title enhancements.
add_filter( 'surerank_auto_set_image_title_and_alt', '__return_false' );

Review the final alt text for accuracy and accessibility after updating your images.

Was this doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

Need help? Contact Support
Table of Contents
Scroll to Top