How to deal with hundreds of externally-generated images with no alt text?
-
Hi all
This is a good one. I work for a webdev company who has clients in the transport industry. Part of our work on their sites involves pulling in transport-related offers from a feed. This includes both text and images, which our site template turns into viewable pages.
The problem is that Moz has flagged that these images don't come with alt text, and there are _hundreds and hundreds of them. _I can't add alt text to them all, there just isn't the time or resources. Besides, the list is updated frequently, and new images are pulled in.
So... what do? Would it be prudent to noindex them all by default setting? I'm stuck!
Many thanks,
Tom -
So as I understand you have some <iframe>Tag in your code, this iframe generates some images and those images do not have any "alt text"</p> <p>A simple solution for that is to use a script (javascript) who can insert dynamically a static "alt text"</p> <p>Example<br />create a script with the condition of inserts<br />alt="promotion of the day" on every image inside of every iframe, or id.</p> <ul> <li><strong>BEFORE</strong> <img src="truck-promotion.jpg" alt=""></li> <li><strong>AFTER </strong><img src="truck-promotion.jpg" alt="promotion of the day"></li> </ul> <p>A specialist on js can get the job done in a couple of hours.</p> <div class="description"><strong>IF THIS ANSWER WERE USEFUL MARK IT AS A GOOD ANSWER :-)</strong></div></iframe>
-
Hi Roman
Thanks for your response - I hadn't thought of this, it'll be a lifesaver.
-
Always is pleasure to help : )