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
-
Combining adjacent image and text links
Hey, The pages on one of our sites has a lot of links on it, which I have read a couple of times can be bad for SEO, although many say don't worry too much about it. However, I was thinking to reduce links and also reduce code size combining adjacent image and text links. For example they current look like this:
On-Page Optimization | | mdeluk
"
Products page" I am thinking maybe I should change to the following:
"Products page" However, is this bad code and therefore could be bad for SEO? I have tried Googling this but couldn't seem to find anything on it.0 -
Duplicate content from page links
So for the last month or so I have been going through fixing SEO content issues on our site. One of the biggest issues has been duplicate content with WHMCS. Some have been easy and other have been a nightmare trying to fix. Some of the duplicate content has been the login page when a page requires a login. For example knowledge base article that are only viewable by clients etc. Easily fixed for me as I dont really need them locked down like that. However pages like affiliate.php and pwreset.php that are only linked off of a page. I am unsure how to take care of these types. Here are some pages that are being listed as duplicate: Should this type of stuff be a 301 redirect to cart.php or would that break something. I am guessing that everything should point back to cart.php.
On-Page Optimization | | blueray
https://www.bluerayconcepts.com/brcl...art.php?a=view
https://www.bluerayconcepts.com/brcl...php?a=checkout These are the ones that are really weird to me. These are showing as duplicate content but pwreset is only a link of the KB category. It shows up as duplicate many times as does affilliate.php: https://www.bluerayconcepts.com/brcl...ebase/16/Email
https://www.bluerayconcepts.com/brcl...16/pwreset.php Any help is overly welcome.0 -
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 -
Main page link reduction
I am in the process of reducing the number of internal links from the homepage with the assumption that the more links I have the more "juice" goes to internal pages I have two options since many of the links are costumer service related 1. create one link that leads to a costumer service page and place all the links their. 2. get all those links on the main page as nofollow links. what are your opinions
On-Page Optimization | | ciznerguy0 -
On-page: Over optimized images?
Hello guys. I have a small question about an on-page optimization for images. What I have: good title tag / good url structure good content (NOT keyword shuffled, its real content, for real people) images / gallery uploaded to folder named same as article name. For example: Great tips for bloggers [article name], great-tips-for-bloggers [folder name]. So my question is: Will Google harm me for this "too good" paths to images, article related image filenames, with mask like [gtips-img01], and if all images have titles / alt tags? Thank you guys.
On-Page Optimization | | infoo130 -
Variable alt tags per page
I have a site where most of the pages don't use images. i use the logo on each page as part of the header. As the header is on each page, if i added a keyword into the alt tag, relevant to the specific page as below Would that be bad SEO? Thanks, Farky
On-Page Optimization | | FarkyRafiq0 -
Do you get penalized for cloaking the nofollow attribute in reciprocal link?
Is it bad to present a link to SE robots as a no-follow link, while normal users see it as a do-follow link?
On-Page Optimization | | MBLT0 -
Breadcrumb links
Hello. Are the breadcrumb links valued more over other links ? (google searches for them specificaly to display them in the results)
On-Page Optimization | | seo.academy0