Image alt attribute vs. plain text in link?
-
I'm building a product category browsing page for a high-falutin' jewelry retailer where we display only product photos linking to individual product pages, without any text in the links.
From an SEO and link-juice-passing perspective, is it most effective to embed the product titles as the alt attribute in each image, or to leave alt="" and use text substitutions (i.e. an inner which is css'd to display: none) within the <a>to help search engines accept my product titles as the link text with the most credibility?</a>
-
Nope. Sorry. Google can crawl CSS, so anything you do to hide text (z-index, position:relative, etc) is easily detectable (Google can even parse javascript).
Now, sometimes you can get away with such things, like in a drop down menu for example. But if you do it, be sure to use the standards from a site that is well indexed.
You're right, I was looking at that to... hahaha. From my experience though, It's better to have one link.. maybe not much better, but at least a little bit.
Does this help Jonathan?
-
It's interesting to note that Etsy (your example) uses the second option.
What do you think of absolutely positioning the image over the text, so that the text is only visible until obscured by the image as it loads? I don't mind that, and it would allow me to sneak in some decent anchor text past the client's visual look-and-feel regime...
-
Great question. I recently worked on a site with exact same layout, and I chose the first one.
I think it's better for users because they won't have to 'think' about which one they should they click. It's also a bit easier to maintain, so you can focus resources elsewhere.
-
Can I do:
Or will having the alt text and the plain text both in the contents of the same link pollute its keyword focus? Would it be better to do something like:
And then 301 or rel=canonical the two PHP targets to the same page? (I understand that if both links point to the same URL, Google will ignore the second one on the page, considering it a duplicate.)
-
Hey Jonathan,
Chris is right. I strongly recommend:
-
use the alt tag (and don't hide text)
-
use text links along with the images
A great example is http://www.etsy.com/category/jewelry
(except they didn't name the images very well)Does this help?
-
-
I agree.... I would go to these high-falutin' folks and tell them that a little text on the page is a good thing.
As Chris suggests I would name the images and create alt attributes for appropriate keywords.
-
I would be very careful about using the display: none route. Hidden text is considered a no no. If you can't convince the client of the importance of link text then go with the alt tag. I would also name the image files to reflect the anchor text I would like to use.
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
-
Outbound links. External Links.
I have been reading alot on SEO and there is something confusing about having "Outbound links. External Links." on your main ranking page. Some say that We shouldn't have any out bound links. (from Random website) According to Yoast, we should have outbound links. (yoast.com) we should have outbound links but we should add the "no-follow" tag. (from Random website) Q: What should i do and follow?
On-Page Optimization | | kevinbp
If the answer is yes, how many outbound links is an appropriate amount per page?0 -
Related Items Links
Hi, If an item page has 'related items' links and 'you may also like' links - and both those are essentially the same links, doesn't it make sense to only have one set?
On-Page Optimization | | Freelancer130 -
Spammy link for each keyword
Some people believe that having a link for each keyword and a page of content for each keyword (300+ words) can help ranking for those keywords. However, the old approach of having "restaurant New York", "restaurant Buffalo", "restaurant Newark" approach has become seen as a terrible SEO practice. I don't know whether this was because it's spammy or because people usually combined it with thin content that was 95% duplicate. Which brings us to; http://hungryhouse.co.uk/ Why does such a major company have the following on the site (see the footer); Aberdeen Takeaway Birmingham Takeaway Brighton Takeaway Bristol Takeaway Cambridge Takeaway Canterbury Takeaway Cardiff Takeaway Coventry Takeaway Edinburgh Takeaway Glasgow Takeaway Leeds Takeaway Leicester Takeaway Liverpool Takeaway London Takeaway Manchester Takeaway Newcastle Takeaway Nottingham Takeaway Sheffield Takeaway Southampton Takeaway York Takeaway Indian Takeaway Chinese Takeaway Thai Takeaway Italian Takeaway Cantonese Takeaway Pizza Delivery Sushi Takeaway Kebab Takeaway Fish and Chips Sandwiches Do they know something I don't? [unnecessary links removed by staff]
On-Page Optimization | | JamesFx0 -
Crazy # of Inbound Links
using open site explorer I see that my pages have a ridiculous amount of inbound links. I assume it is recording the same link from every page of the website through the menu somehow? Like the about us page has 200+ inbound links!!! ahh.. Is there a way to prevent this besides like.. no-following your own menu? Or is that what your supposed to do.. ~~Confused.
On-Page Optimization | | Earthsaver0 -
Guest vs Logged In Content
Hi Mozzers I have a client that recently launched a q&a and he has the answers hidden by registering for free you can see the answers. It's a free community. Now the question comes: Google will not get the entire page only the question content which I think is bad. What option would solve the issue. Have thought about making the answers hidden through css... so if you're a guest the answers are display:none . But it has to be a better option than dirty things like this 🙂
On-Page Optimization | | mosaicpro0 -
Homepage vs. Product page competition
I think my homepage and basic product listing page may be competing.. We have a very old domain with lots of links w/ generic anchor text ( click here, etc. ) That page is http://mybrand.com which Google ranks for our "widgets" search term. We have a page http://ourbrand.com/widgets that lists the 5 or 6 basic widgets we sell. This page is indexed also, but doesn't have nearly as many links since it is new compared to the age of the domain. After reading this.. http://www.seomoz.org/blog/how-to-solve-keyword-cannibalization I I'm not really sure I can remove all "widgets" links from our homepage, since that's a core part of our site's menu / hierarchy. So maybe my best effort would be to reorganize the page so that the homepage focuses on Our Brand Name Widgets .. and let the product page focus on the widgets keyword. Is having those two pages serve to represent those two separate but similar keywords feasible? Thoughts?
On-Page Optimization | | minutiae0 -
Best article about internal linking structure?
Hi! Could you please recommend me a good and deep article about best practises in internal linking structure? I need to rethink the structure of a big site (lucky me it's very hierarchical) and I would like to have a look at some great articles about this to consolidate some ideas and have some new ones. I've read some but I would like some recommendations 🙂 Some articles about information architecture would be appreciated as well! Thanks!
On-Page Optimization | | jorgediaz0 -
Links from my homepage
I am redesigning my homepage completely. What criteria should I use to decide which pages to link to from the homepage?
On-Page Optimization | | mascotmike0