Missing alt tag for lazy-loading images
-
Hello, I’m using the image lazy loading feature, which automatically replaces images with an img that has a data string as the src. The problem is that these images don’t have alt tags, so web accessibility tools like https://achecker.ca mark them as problematic when they’re used in link tags.
Check 7: Image used as anchor is missing valid Alt text.
I know that once the image loads in, the alt tag displays like normal, so it’s not really an issue. However, it would be nice to add an alt tag for those loading-in images, just so that those errors don’t appear on accessibility checker tools. Would it be possible to add even just a generic alt tag like “image is loading in…”? Is there any way I can hook into a filter to add this now, rather than wait for an update?
- The topic ‘Missing alt tag for lazy-loading images’ is closed to new replies.