Automatic Decorative Alt Text Not Working As Expected


Underneath the “Alternative Text” field within the “Edit Media” page, there’s a note that says to leave this box empty is the image is purely decorative (see first image). However, upon looking at the HTML of a webpage with an image who’s alt text I’ve left blank, the alt text tag is not correctly written to denote a decorative image. Instead of the image tag including ” alt=”” “, there’s simply “alt”, without the necessary equals sign and the empty quotation marks (see second image).

Has anyone had this issue? I also use the SEO Press plugin. I wonder if this is having any impact. Thank for your suggestions!


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer