Alt tag for src='blank.gif' on lazy load images
-
I didn't find an answer on a search on this, so maybe someone here has faced this before.
I am loading 20 images that are in the viewport and a bit below. The next 80 images I want to 'lazy-load'. They therefore are seen by the bot as a blank.gif file. However, I would like to get some credit for them by giving a description in the alt tag. Is that a no-no? If not, do they all have to be the same alt description since the src name is the same? I don't want to mess things up with Google by being too aggressive, but at the same time those are valid images once they are lazy loaded, so would like to get some credit for them.
Thanks! Ted
-
Martijn, thanks for your response. I could see Google saying that on a given page the same source image shouldn't have more than one alt description, and either penalizing such or just picking one of them or ignoring it altogether. It's the penalty I'm concerned with, of course. . But, I can also see that if they are seeing a blank.gif for the source and some code related to lazy loading they may go ahead and give credit to each alt as though a real src was loaded--and maybe even tying it to the real src image name for image search. Just looking for a bit more feedback from real-world experience first..
Has anyone else worked with this and determined if it is a pro or con?
-
Hi Ted, to be honest we do this and I don't see any big issues why we wouldn't do it. The placeholder image will probably get some more credits than usual. But the images we lazy load are loaded via JS and as Google says it can understand JS they should be able to get how we use it (too much assumptions I know, but I have more things to worry about ;-)).
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Partially same alt tags for different images
Hi, I am checking the SEO for a website that has a homepage consisting of the 5 most important categories. These are represented by different images with the category title in clickable text in the image. When I check the alt tags of the images they all have the following structure: brand - activities - locations - category. So for each image alt text the items 'brand - activities - locations' are used and only the category changes. Can this be seen by Google as spamming?
Intermediate & Advanced SEO | | Mat_C0 -
Paginated Pages Which Shouldnt' Exist..
Hi I have paginated pages on a crawl which shouldn't be paginated: https://www.key.co.uk/en/key/chairs My crawl shows: <colgroup><col width="377"></colgroup>
Intermediate & Advanced SEO | | BeckyKey
| https://www.key.co.uk/en/key/chairs?page=2 |
| https://www.key.co.uk/en/key/chairs?page=3 |
| https://www.key.co.uk/en/key/chairs?page=4 |
| https://www.key.co.uk/en/key/chairs?page=5 |
| https://www.key.co.uk/en/key/chairs?page=6 |
| https://www.key.co.uk/en/key/chairs?page=7 |
| https://www.key.co.uk/en/key/chairs?page=8 |
| https://www.key.co.uk/en/key/chairs?page=9 |
| https://www.key.co.uk/en/key/chairs?page=10 |
| https://www.key.co.uk/en/key/chairs?page=11 |
| https://www.key.co.uk/en/key/chairs?page=12 |
| https://www.key.co.uk/en/key/chairs?page=13 |
| https://www.key.co.uk/en/key/chairs?page=14 |
| https://www.key.co.uk/en/key/chairs?page=15 |
| https://www.key.co.uk/en/key/chairs?page=16 |
| https://www.key.co.uk/en/key/chairs?page=17 | Where is this coming from? Thank you0 -
Homepage has canonical tag pointing to innerpage
Hi, I'm stuck! This e-commerce site which I'm currently working on has an unusual problem. So the homepage has a canonical tag pointing to one of its category pages. Is this okay SEO-wise? Based on what I understand, the homepage is the most important page in a site. And if there is a mirror duplication, it would be better to canonicalise the inner page to the homepage rather than in reverse. Looking forward to getting some answers. Cheers!
Intermediate & Advanced SEO | | nerdieb0 -
Duplicate title tags due to ?_escaped_fragment_=
Duplicate title tags due to /?escaped_fragment= in the serps, it look like this http://www.site.com/25621/post-name/#! http://www.site.com/25621/post-name/ Does anyone know what the best fix is for this and does this affect the sites performance. Regards T
Intermediate & Advanced SEO | | Taiger0 -
Links from music/celebrity based fansites - sitewide images with no alt text
We're currently in the middle of a link audit on our website OneDirection.net and a large part of our incoming links come from fansites such as the following: ladygaganow.net nickjonline.com justinbieberhood.com joejonashq.com harrystylesfan.org brunodaily.org onedirectiondaily.com onedirectionfans.net Now, our previous way of thinking was that these are very relevant websites in the same niche as us, and therefore should be passing some value? However all of the links on these sites come from sitewide images with no alt-text. Some of the sites are passing 1000+ links to us. We've been wary to disavow or request removal of these links as we've usually gone with the thinking that Google applies "common-sense" based logic in its algorithms, and therefore these backlinks should be ok - in our opinion. However we think we are suffering from some kind of algorithmic penalty with our current rankings, and are now thinking these could be the cause. What are people's opinions on these links? Should we stay clear of sitewide links altogether? Should we contact the site owners and try to get them to mix up the alt-text? Or should we get rid of them altogether? Thanks, Chris.
Intermediate & Advanced SEO | | PixelKicks0 -
Are pages with a canonical tag indexed?
Hello here, here are my questions for you related to the canonical tag: 1. If I put online a new webpage with a canonical tag pointing to a different page, will this new page be indexed by Google and will I be able to find it in the index? 2. If instead I apply the canonical tag to a page already in the index, will this page be removed from the index? Thank you in advance for any insights! Fabrizio
Intermediate & Advanced SEO | | fablau0 -
Why Put an H1 Tag On A Product?
Why would you put an H1 tag on a product name? I came across this in another forum and thought I'd float it here.
Intermediate & Advanced SEO | | AWCthreads0 -
Don't want to lose page rank, what's the best way to restructure a url other than a 301 redirect?
Currently in the process of redesigning a site. What i want to know, is what is the best way for me to restructure the url w/out it losing its value (page rank) other than a 301 redirect?
Intermediate & Advanced SEO | | marig0