Alt Attribute Not Showing Up
Clearfy Pro uses the the_content
filter to automatically add alt
attributes, but only for images inside post content that are missing them.
If an image doesn’t have an alt
attribute at all, the plugin won’t generate one—it just fills in empty alt
attributes that exist in the HTML.
For images in your header, sidebar, footer, or other theme template areas, you’ll need to add alt
attributes manually in your theme code. The same goes for product images in ecommerce plugins—the plugin can’t add alt
text there because those images are rendered directly in the template code.
Did the answer help you?