@demaier: Hello Daniel,
Can you please post in your site URL and let me know where the alt tag is showing up empty?
Also for swift replies post your issues and queries on our Official Theme Support Forum https://catchthemes.com/support-forum/
Kind Regards,
Skandha
Hi @skandha, here’s one of the pages: https://wppd.org/public-information/cold-cases/.
I did a little more digging and while inspecting the page you can’t see the alt text, viewing the page source code you can. That’s strange.
In some other pages while inspecting the code I can see the alt text but not this one. I doubled check the content and the alt text is populated in the back end as well.
Thank you!
@demaier: Hello there,
You can Go to => Media => Select an Image => Insert an Alt text for that Image.
Let me know if this resolves your issue.
Kind Regards
Skandha
@skandha Yes, I have all the alt text already populated in the Media Library. Every single image on our website has alt text. I also made sure to check the source code in the WYSIWYG editor (Text) and I see the alt text there as well. However, when I inspect the page the alt text is empty.
Thanks.
Ok, I just did a little troubleshooting and it seems like if you wrap <img> with an achor <a> like this <a href="#"><img scr="#" alt="test"></a> the alt text becomes empty, if you remove the anchor (link) the alt text works fine.
So, there’s something affecting the alt text tag when the img attribute is being wrapped with an anchor.
OK, I have found the culprit. It is this plugin: https://ww.wp.xz.cn/plugins/responsive-lightbox/
It is somehow affecting the alt text attribute.
Thank you!
@demaier: Glad you were able to figure it out. Have a good day! 🙂
Kind Regards,
Skandha