Hi,
your source code looks good.
Make sure to clear your cache and refresh the analysis.
Let us know if it still doesn’t work.
Thx
Hi Benjamin,
Thanks for your response,
I have emptied the cache, but unfortunately this has no effect on the analysis. The data:image elements are still there.
We have checked again the source code of your homepage, and we have found 3 empty alt tags.
An entire section has a display:none in CSS (see screenshot) with a slider of images with empty alt texts.
https://pasteboard.co/dTi0D7FodzuE.png
It’s possible that the images causing the notification are SVG images, which require a different method to add alt tags. Instead of using the alt attribute, SVG images use the title or desc element to provide a description. You can add a title or desc element to the SVG image with a text description of the image.
Another possibility is that the notification is a false positive, meaning that it’s a mistake in the website scanner or auditing tool. Double-check the images that are flagged as missing alt tags and see if they are actually images or if they are some other type of content. Some days ago, I was also facing the same issue with my website. Now, its resolved by following the 2nd option that I have discussed.