I’ve noticed that {{ image.alt }} isn’t working properly.
It returns null if the image was uploaded and retrieved from a section (Theme settings/customizer). (With section I mean for example those that appear on the homepage created thru schema, Theme settings/customizer)
It works if the image comes from an Article, Product.
I’ve checked and all Shopify themes have this problem.
It’s pretty damn bad for SEO, because you’ve a lot of empty images on the homepage.
Yes, you are right, it’s not good for SEO but the Shopify theme can’t determine the alt-text themselves so the alt text needs to be added by the user. I agree that image picker sections should come with a text field to enter alt-text.
Hi, any updates on this (or workarounds)? We added a collections section to the Homepage and added Alt Text to the image but on the live page th ealt text is blank. See Picture block below:
Agree its a major SEO Issue especially as its the Website Homepage.
This fix worked for a lot of the images, however I now have PRODUCT images that have alt text on them, but these fixes don’t cover for product images. I tried to work it out myself, but no avail. These are the images that are saying no alt text, yet they have it assigned, can anyone help?