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
-
Logo Image H1 Tag SquareSpace
We have a site hosted on SquareSpace: Roomhance.com Going through the on-page optimizaton tool, we noticed that the H1 tags weren't fully optimized. If you click on view source on the page, it shows 2 H1 tags on the home page: id="logoImage"><a <span="" class="html-attribute-name">href</a><a <span="" class="html-attribute-name">="</a>/">src="//static1.squarespace.com/static/5bcca055ab1a62465f5b9ee7/t/5c18feb270a6adf771765799/1588613682225/?format=1500w" alt="Virtual Staging For Real Estate | Roomhance" /> style="text-align:center;white-space:pre-wrap;">Virtual Staging The 2nd one shown above it the H1 tag we want. I'm wondering if the H1 tag in the logo image is hurting us for SEO? Can't figure out how to modify it in SquareSpace.
On-Page Optimization | | vikasnwu0 -
Do non-canonical pages need to worry about things like Alt Text, H1 tags, etc?
Just wanted to confirm, if we have multiple similar pages, with all of their canonicals pointing towards the prime page, does it impact SEO rankings at all if the non-canonical pages were missing alt text from their images, or shared duplicate or multiple H1 tags? Basic SEO page construction stuff? I know some will hurt user CTR but wanted to make sure that SEO crawlers don't care about them even if indexed.
On-Page Optimization | | SimonZM2 -
Reducing number crawl-able links?
Hello, I just like to ask for best practice when it comes to reduce number of internal links on a site with a mega menu. Since the mega menu lists all categories and all their subcategories it creates a problem when all categories are linking to all categories directly.. Would the method below reduce the number of links and preventing the link juice flowing directly from category to category? [(link built with JavaScript and the html5 "data-" attribute) Thinking of using these links to categories in the menu not directly below the parent category.](#)
On-Page Optimization | | AJPro0 -
Subdomain vs. Root Domain design
I know that there are penalties if you have a navigation item in your categories that links to another site (root domain) that yields the same design as the original link. Is there any negative SEO implications with having a subdomain with the same design as the root domain i.e. root.com vs. store.root.com And the navigation functionality within will have links to both store.root.com as well as root.com directories? Thanks in advance.
On-Page Optimization | | customerparadigm.com0 -
Image with Text
Hello, I would like to use the mouse roll over with text on the over state. My question is how to make it SEO friendly? 2 different ALT ? How is the text on the over state going to be read by the searh engines? Appreciate your help! Emmanuel
On-Page Optimization | | manu450 -
Image titles and alt tags for multiple images
I'm hoping some of you may be able to help me understand the best way to optimize my image titles and alt tags for a specific situation. I'm working on an interior design website and they have hundreds of pictures. each of their projects has about 10 pictures. Is it best for me to us the key phrase in each title and tag? or is that to repetitive? here is what I mean: A project called "urban interior design" all images are of urban interior design, just different angles and features, so my initial idea is to just have each image title like this: Title: "urban interior design dinning area" Alt: "urban interior design dinning area view" Title: "urban interior design living room" Alt:"urban interior design living room couch view" Is this the best way or will it actually hurt my ranking with too much exact keyword use? Thanks for your help!
On-Page Optimization | | TBSEO0 -
Internal Followed Links and Total Internal Links as 1
It is showing Internal Followed Links and Total Internal Links as 1 in OpenSiteExplorer Tool http://www.expresscasket.com/ http://www.opensiteexplorer.org/comparisons?site=www.expresscasket.com Not able to understand and identify the problem and fix it. But when i check in google webmasters tool, it is showing lots of internal links. Does it differ those internal links and your trace of internal links
On-Page Optimization | | expresscasket0 -
Best Way To Host Images For Image Optimization
I need an image optimization expert to tell me whether or not we are hosting images properly for SEO. Currently, we upload all images to Picasa and then call them out with a webpart in our content management system. See example here - http://www.tennisnow.com/Photos/2011-BNP-Paribas-Open-Day-5.aspx Here's an example of the url that is attached to each image - http://lh5.ggpht.com/_1Oyc-Zgkrpk/TX5H-Pfyd7I/AAAAAAAARbc/nG3Cw-G5tsY/s400/1215548409_FU9xA-L.jpg We have a lot of images, and we've hosted them on Picasa for speed purposes based on a recommendation from our developer (makes the pages load faster). I've read that Google can now factor page load time into its ranking parameters. We are not seeing the images from each photo gallery being indexed on images.google.com. We are torn. What should we do to rank for these images?
On-Page Optimization | | tennisexpress0