Why are alt attributes missing from my collection images?

Why are alt attributes missing from my collection images?

stimpsonn
Visitor
2 0 1

Hi, 

When I run SEOptimer on my site, it suggests my site has 15 images and it cannot find alt attributes for 8 of them. 

The images it suggests do not have alt attributes are those which are the main images for my product collections. 

I have definitely input alt text in these images when creating the collections. There are also a lot more than 15 images on the site! I've attached a screen shot. My website is www.locherimus.com

Can anyone suggest how to fix this? Thank you. 

Screenshot 2023-04-25 at 15.02.05.png

Replies 5 (5)

saim007
Shopify Partner
611 75 108

@stimpsonn You already a list of URLs which doesn't have ALT text so just follow these steps to fix this issue-

1. Login to Shopify Store

2. On the Dashboard left side > Click on Content > Files

3. You will see all the images just click on image, pop-up will open just scroll down and you will see ALT text input box to enter the ALT text and SAVE. for reference see screenshot

sandyparihar07_0-1682425693872.png

 

Saim | Shopify Partner Expert

Was I helpful?

Buy me a Coffee

🙂
Hire me   to unlock the full potential of your e-commerce store 🙂
stimpsonn
Visitor
2 0 1

Hi Sandeep, 

Thanks for your reply. 

All of these files already have alt text inputted and saved. 

herastore
Excursionist
25 1 6

hey, did you manage to solve this?

cascadeironco
Excursionist
14 0 3

Nothing to offer but we have the same issue. Hoping for a solution

hbs25
Visitor
2 0 0

I was having this issue with my Collection List (Dawn base theme) and collection cards. Here's how I fixed it, hopefully, you can use a similar logic.

In card-collections.liquid searched for the term "alt"

Screenshot 2025-04-03 at 1.15.32 PM.png

As you can see it's blank. I then just copied the code for height below and replaced the word "height" with "alt"

alt="{{ card_collection.featured_image.alt }}"

Screenshot 2025-04-03 at 1.18.10 PM.png

I then previewed the site and used the inspect tool to make sure it was working properly. 

Hopefully, that works for you!