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
-
Two links to different page with same link label
What will be the impact in Google if I have two links in the same page pointing to different pages, but with the same label.
On-Page Optimization | | kjerstibakke0 -
Are Back Links King
We have worked as closely as possible to the guidelines and advice on this forum, if we compare our on page Analsis with other companies in the same field as ours we have a far better site as far as SEO is concerned, our DA authority is higher and most of our page authority is higher but we just cannot seem to get up to their level in the search engines, one site that is in competiton with us do not use Facebook and also they do not use Twitter very much, I looked at some of their backlinks and their top one which was a blog had not been updated since 2011, over the years we have amassed far more what I would call worthless links as this was the done thing then, how can I get on the right track, are there any companies who could assess our site for a reasonable cost to point us in the right direction, we are doing our own blog, Facebook, Twitter, Onlywire?
On-Page Optimization | | Palmbourne0 -
Too many links on home page
SEOmoz crawl states I have 3 pages with too many links. My sites are hosted on Yahoo small business. One page they state is too long is the home page/ind. with 600 links to each page on the web site ( I think). Is this really a problem and how do I fix it? The other two pages are product categories that link to the products under the main product type. What I do not understand is that we have many larger product categories that SEOmoz crawl is not stating too many.
On-Page Optimization | | Wales0 -
Footer-links (navigation)
I want to put navigation links in my footer. I watched the (distilled) whiteboard friday video saying it can be a penalty. How are links in the footer different from links in the navigation. Why don't you get "hit" for putting the word "Real Estate Listings" in the navigation menu? It appears on every one of the 30k pages. I don't get why the links in the footer would have a negative effect if the links in the navigation don't. My example is a real estate website. When people are browsing properties (30k), it is convenient that at the end of the page there is a navigation of areas. I could put the navigation on the sidebar but that would be in essence, the same thing. A wordpress site would dynamically include that sidebar on every page.
On-Page Optimization | | JML11790 -
Do NoFollow links still split link equity?
So I realize that Google will split link equity between all links on any given page. Example, if a landing page has 10 links then the authority from the landing page is split into 10 and each link given its own smaller amount of equity from that landing page. My question is if I were to turn 9 of the 10 links on this page to NoFollow links would the equity still remain split 10 ways or would it simply pass all of it to the one DoFollow link left on the page?
On-Page Optimization | | PageOnePowerGang0 -
Lists of Product Links: What is good, what is bad?
I am a web designer but a bit of an SEO noob (trying to get better at both). I am working with one particular client on a site I inherited with existing structure. This client has about 10 products on 2 pages. On every page there is a product list that is basically the same list sorted in 2 ways: 1st by product, 2nd by usage. These all link to internal anchors so this might be an example on www.site.com Cleaner X1 - links to www.site.com/cleaners.php#x1
On-Page Optimization | | mparry9
Cleaner X2 - links to www.site.com/cleaners.php#x2
Cleaner X3 - links to www.site.com/cleaners.php#x3
...
Cleaner For Brick - links to www.site.com/cleaners.php#x1
Cleaner For Marble - links to www.site.com/cleaners.php#x2
Cleaner For Stone - links to www.site.com/cleaners.php#x3 Obviously this adds about 20 links on every page on the site (including the actual pages these products are on). What are your thoughts on this? Good idea or bad to have on the site? Should I remove the redundant links on the actual page that product falls on...or is this bad and should be removed altogether?0 -
Anchor text landing page
do you think google counts the H1 of the landing page from an anchor text, for example if the anchor text of my product is . blue sexy X, do you think its good if the h1 of the landing page says the exact same thing
On-Page Optimization | | Dirty0 -
Building content pages, redirecting and linking
Previously the company had created some .HTML content pages around top shoe styles and top manufactures. One or two of these pages used to rank but have been neglected over the page 18 months. I want to build out new content round our top styles / top manufactures and I am wondering if I should use the existing HTML pages or create new pages that use our content management system. The .HTML pages can contain keywords in the URL, using our content management system, all URL’s are www.site.com/content/home/contentid=1234abcd. If we use the .HTML pages all content is managed manually. If we build out 6 to 10 pages, this can become a resource issue and may result in a bad experience for the website visitor. From an SEO perspective, does the benefit of having the keywords in the URL outweigh the manual management hassles? And if not, should we 301 all the HTML pages to the new content pages? And from a linking standpoint, I want these content pages to point to the new version of the top style. From a navigation standpoint, we also want to provide access to all styles from the manufacture. Should we nofollow the links to all styles?
On-Page Optimization | | seorunner0