Hi All,
We are having lot of w3 validation errors in my website and all are related to the images alt tags as below:
Error: An img element must have an alt attribute, except under certain conditions.
Is there any way to add alt tags for the images to solve these w3 validation errors.
We are using Magento Version: 2.1.2
Anyone have a solution for this..Please suggest me..
Thanks,
siva.
Hi Damian,
Yes..you are right..I am asking the same..
We have tried to add the alt text but it was not getting for my images.
Can you suggest any thing we need to do in product configuration(creating/editing) to get "Alt" attributes for product images.
Thanks,
Siva.
I've made a new test and the alt text works right.
Edition:
Category View:
Product View:
Is this what you are looking for?
I am looking for this kind of thing in magento 1.9
Please suggest me, how can i do that,
so that i can fetch the same alt text for the respective product image.
In my instance of Magento (2.1.3), adding the alt text the way you described creates a caption and not alt text.
This is what it's adding to the code:
"caption":"Organic Bergamot Essential Oil, 5 ml"
Hello
I have used magento 2 version , I have on issue when we run importer file its showing me FOREIGN KEY error
https://www.screencast.com/t/SBRzRHNicWsY
Importer file getting data from xml file and adding or update product image and other information
Please let me know how can i fix this
Can you please help us how you added that alt text to
Is there an option to do this in the previous version of Magento?
You can import it -
base_image | base_image_label | small_image | small_image_label | thumbnail_image | thumbnail_image_label |