Automatic Decorative Alt Text Not Working As Expected

Hello,

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!

https://preview.redd.it/h3b8z4d1nbrc1.jpg?width=1200&format=pjpg&auto=webp&s=619c9bffcd1370a839d51e0ea4ba6ffb9bcd3e7a

https://preview.redd.it/u08qn3d1nbrc1.jpg?width=1376&format=pjpg&auto=webp&s=a47a22d6d6ed8dbe3c042fc51833f2cea962c770

 

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