My collection thumbnails have ALT tags added but 100% of SEO tools say it’s missing
It seems like Shopify’s Dawn theme doesn’t add the “alt” attribute to the HTML tag of the image. How do I fix this?
Thanks
A Shopify store owner reports that SEO tools detect missing alt attributes on collection thumbnails, despite having added alt tags. The issue appears related to the Dawn theme not properly rendering the alt attribute in the HTML.
Proposed Solution:
main-collection-banner.liquidalt="{{collection.image.alt | escape}}"Current Status:
The original poster implemented the suggested fix, but the problem persists. The helper has requested the store URL to investigate further.
Key Issue: The alt text may be added in the backend but isn’t being output correctly in the frontend HTML markup, causing SEO tools to flag it as missing.
My collection thumbnails have ALT tags added but 100% of SEO tools say it’s missing
It seems like Shopify’s Dawn theme doesn’t add the “alt” attribute to the HTML tag of the image. How do I fix this?
Thanks
Hello @TRUONGPHAM_102 ,
Navigate to Online Store → Edit Code → search for the file main-collection-banner.liquid, find the alt tag, and replace the code with the above code.
alt="{{ collection.image.alt | escape }}"
I followed the instructions, but the situation is still the same; I don’t understand why
"Can you share the URL of your store?