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
-
H1 text and Header Image Overlap?
I have images with text at the top of every page on my site. But no H1 or H tags at all. I would like the text on the image to be my H1 text. But I don't want to be repetitive. What should I do?
On-Page Optimization | | Calligraphy0 -
Should we use the same word in multiple mega menu link text?
We are currently working on a redesign of our site and I'm working on our mega menus. In the middle of this we had an agency evaluate our current/old site for improvements. (yes the timing is strange) One of the things they recommended is updating our link text in our mega menu. See image: old mega menu. The links are to pages for installation guides in our installation section. They recommended adding Installation to every link. To me this looks spammy. And using the same word in the menu and therefor every page seems spammy. The question is do we need to do this on the new site? In my opinion no. We have the links under a section for installation. Is that enough or should we use installation in every menu item? 6JcZwiU krbzxqx
On-Page Optimization | | BbeS0 -
Internal Links: Navigation Bar vs. Body Text
Hello. I have a page on our site that is especially popular and has many inbound links. This page has the same site navigation buttons (at the top) as every other page on the site. Do these site navigation buttons pass along link juice to other pages in the same way that an internal link would elsewhere on the page? Thank you!
On-Page Optimization | | nyc-seo0 -
Help Please! - Anchor Text in the Menu
Hi everyone, I am a SEOMOZ newbie and I have been learning about SEO for a while now whilst working on my site - lockcity.co.uk - I already understood the importance of anchor text but was amazed to learn how google only count the anchor text used in the first link (http://www.seomoz.org/learn-seo/anchor-text). My questions are - does this rule still apply? and if so do the menus really count as the first link? If I went on this approach, this would make my menus too long for e.g. on my 'Auto Locksmith' page, my targetted keywords are 'Auto Locksmith' but also the town keywords need to be included. I really thought I had this covered on the home page by making sure the anchor text and alt text were keyword relevant to the link, but looks like Ive been missing out on an opportunity. Our business is slightly complicated in that the 25 mile radius we cover includes 4 different regions - therefore I feel like I always have to get these keywords in as well to make sure we get traffic from our area. Thanks for any advice you can give!
On-Page Optimization | | LockCity0 -
No Follow Internal Links
Hi Mozzers, I know that this has been asked a few times and answered as well, I would just like to know some more on the internal link count on a page. I ran the SEOmoz report and many of the pages on the website have more than 150+ internal links. Now, should I use the rel=nofollow tag on some pages that I feel are not important? I have a list of pages which are not important from the SEO point of view, but from the usability factors they need to be there so I cannot remove the links to them. So, would be OK to place the rel=nofollow tag on them. My whole purpose is to reduce the count of internal links on the page as seen by SE's. Now, some say that the rel=nofollow tag does not lower the link count, but it can definitely (I believe) prevent the bots time in getting to those pages, which SEOmoz report also quotes. (__When search engine spiders crawl the Internet they are limited by technology resources and are only able to crawl a certain number of links per webpage. ) So, probably I can save their time. Does anyone have any views on this, Cheers,
On-Page Optimization | | RanjeetP0 -
Excessive Internal Links & links to same location
Hi, When Google is counting internal links on a page and it comes across two links to the same url, do both of the links count towards Excessive Internal Links? The reason I ask is that on our website we allow users to navigate through the website in different ways (either by dropdown menus or side menu or through breadcrumbs); which cause some links to appear multiple times on the same page. Any thoughts? K.
On-Page Optimization | | soltec0 -
Optimise duplicate products or canonical link
We exist in a niche market with a good % of products that sell well at specific times of the year. Lets say for example a red cup can be sold as a christmas red cup and a valentine red cup or just a red cup. Would we be best to optimize each specific product specifically for those seasons/events on different pages or keep google pointed to just one page using a canonical link.
On-Page Optimization | | LadyApollo0 -
How impactful will text at the bottom of the page be?
If the most important content for humans on my page is images (e.g., a picture gallery), but there is very little text high up on the page, how impactful will a text description at the bottom of the page be? I've seen a few other sites put content paragraphs at the bottom of their pages. LIke so: http://www.purpletrail.com/invitations-online http://www.tinyprints.com/ Is this something I would do well to emulate?
On-Page Optimization | | Ehren0