Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
[HELP!] File Name and ALT Tags
-
Hi, please answer my questions:
1. Is it okay to use the same keyword on both file name and alt tags when inserting an image?
Example:
File Name: buy-lego-online.jpg
ALT tag: buy-lego-online
Will it trigger Google Panda? Will I be penalized for that? Or the file name and alt tags should be different from each other? Because when inserting an image on Wordpress, the alt tags are always the same as the file name by default.
2. For example, I have 2 images in a page (same topic/niche) and I will put "cheap-lego-for-kids" and "best-lego-for-sale" as alt tags. Considering that I repeat the word "lego", is it considered keyword stuffing? Will I be penalized for that?
Thanks in advance!
-
I know this is like beating a dead horse, but thought I would link to Search Metric's 2014 ranking factors study. What is missing in what they see as factors that increase rank is ALT tags on images.
You can see the infographic below, you can also download the 80+ page report which I would highly recommend
http://www.searchmetrics.com/wp-content/uploads/infographic-seo-ranking-factors-2014.jpg
~Cheers
-
Using a word twice on a page is indeed, not keyword stuffing - where did I say that it was??? I don't believe I have EVER said that in all the years I've worked in digital marketing!
I said that using the same alt tag would be spammy - the reason I think that is that it either implies that you don't have unique images on the page (so what's the point of them?) or that you have been lazy with your alt tags by repeating the same one over again. Both bad user experiences for folk that need them.
-
Hi Amelia, you're right about that alt tags are for people who use screenreaders. Though search engines like google also use the alt tag to recognize there is an image file.
The alt tag is an onpage factor that influence ranking (http://moz.com/learn/seo/on-page-factors)
Although the alt tag may looks like as not important, it's worth using it.
About the spammy thing, using a word twice on a page has nothing to do with keywordstuffing
Grtz, Leonie
-
Hey Amelia.
Yes you are absolutely correct, alt tags are for people, and should be used to that end. When I said it 'tells' Google what the images is about I was responding directly to Shawn's comment that ALT tags are for accessibility, not SEO...
Technically yes, but Google does use the alt text as a relevancy signal (at least as far as we know). And ranks your image (in Google images) based primarily on that information. It’s a part of SEO for better or worse. Besides, you can both improve your on-page AND give relevant and meaningful info to the user, i've never had to choose. If it came down to it I’d always prioritize the user.
-
Amen Amelia. I said the same, but not nearly as thorough as you did.
-
Hi,
I just wanted to dispel a few myths going on here...
- ALT tags are NOT to 'Tell Google' what the image is about, they are there for people who use screen readers to enrich their use of the internet.
- Screen readers can be set up to read out alt tags, file names or title attributes - depending on the user's preference and presumably on the site they are looking at
- Google can and does read image file names: http://blog.hubspot.com/blog/tabid/6307/bid/32567/A-Marketer-s-Guide-to-Optimizing-Images-for-Google-Search.aspx
If you pick relevant images for your pages then you probably will be able to get keywords into both the alt tag and the file name. I don't think this is spammy! It's accurate.
What would be spammy, and this has already been covered by Issac, is if you repeat the same alt text on the same page - vary it! - 'Blue lego bricks' etc. I personally would avoid saying stuff like 'cheap', 'buy' etc UNLESS the image has that text within it (say a picture of lego with a headline within the image saying 'cheap lego') in which case you are doing exactly what the alt tag is there for - enabling screen reader users to experience as similar experience to us sighted folk as possible.
Sorry for the rant, but it annoys me that something that is meant to help people who are (to my mind) at a disadvantage is abused for SEO purposes!
Best wishes,
Amelia
**EDIT: I am well aware that Google and other search engines use alt tags for rankings. What I wanted the OP to be mindful of is that alt tags were not invented 'to tell google what an image is about'. And to point out their value and use for people using screen readers. Most people do not fully understand how blind users navigate the inter-webs, me included. I just think if I can do something to make it easier for them then I will. If you'd prefer to write alt tags purely for the search engines, that is entirely your prerogative! **
-
No you won't be penalised for that.
But do check out my initial response below for a more detailed answer.
-
Thanks so much, Isaac! Sorry for the newbie question. For you, is it okay to use the same file name and alt tags in an image?
For example:
File name: cheap-lego-for-kids.jpg
Alt tag: Cheap Lego for Kids
Will I be penalized for this?
-
A space between each word
Think of the user. Some poeple don't have their images active when useing the web. What would they want to see?
Isaac.
-
Hi Mai.
You should be fine with the example you give. So long as you don't just repeat 'lego for kids’ over and over on the page! Just add your keywords into natural writing style that your users will find usefull and infomative.
Alt tags are useful for SEO. They 'tell' Google what the image is all about. The images and the alt text should be relevant to what's on your page. So I hope your page is about lego products
Alt tags also makes your images more likely to rank in Google images for relevent keyword searches. This is becoming more popular with people who like to scan through products visually.
Hope that helps.
Isaac.
-
Thank you very much! Last question, which one is better to use on alt tags?
SPACE or HYPHEN? Cheap Lego for Kids or cheap-lego-for-kids?
Thanks again!
-
ALT tags are for accessibility, not SEO. Screen readers will look at those tags and read to those that have trouble with seeing the page what the image is.
As long as the ALT tags are accurate representations of what the image is, you should be okay. If you are attempting to stuff keywords into ALT tags and they do not accurately describe what the image is, then you may not receive any benefit and could potentially get some kind of penalty.
-
Hi, Google can't read (yet) image filenames, that's why we use the alt tag, to tell google what's the image is about. So you can use the image file name as alt tag, no problem. If you use the word "lego" twice it's not keyword stuffing.
here's something to read about keyword stuffing: http://moz.com/community/q/what-constitutes-keyword-stuffing
Grtz, Leonie
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 tag positioning impact
Hello, I am currently working with a dev team to develop a new site. We have designed the title tags to sit below a banner image on each page but the technical team are insisting the h1 title tags must come above the banner for maximum SEO impact. I am sceptical about this, can anybody please shed some light and/or share any up to date resource on this? I have attached a side by side wireframe to illustrate the pages with the h1 tags in both positions. Thank you! HnWcLTx
On-Page Optimization | | Popidev0 -
What are "stop" words in Title Tags?
My client is following his GoDaddy SEO Checklist, and it is reporting 5 errors in Title Tags, saying the Titles contain "stop" words. I can't figure out what these are. Any ideas?
On-Page Optimization | | cschwartzel0 -
Fewer keywords in title tag?
Hello, I have a title tag that includes three keywords and has a total of 59 characters. The third keyword is not very important. If I eliminated the third keyword, leaving the first two (for a total of 48 characters), would the ranking value of the first two keywords increase? Does including the third keyword dilute the value of the first two? Thank you!
On-Page Optimization | | nyc-seo0 -
Changing Link Title Tags & Backlinks
On 4/19/12 I began changing the link title tags in an effort to further optimize my website. I thought they were excessively long and it would be beneficial to make them more concise. On 4/26/12 my website traffic began to fall drastically and I'm not sure if it is from google's penguin update or from changing the link title tags. I started looking into the sudden drop of traffic and realized that when I run the site explorer tool on all of the pages I changed, the URL is redirecting. It appears that the backlinks are not passing through to the new URL. Before I Changed the Link Title Tag: http://www.opensiteexplorer.org/links?site=www.beautystoponline.com%2FAndis-Professional-Hair-Clippers-s%2F102150.htm **After I Changed the Link Title Tag: ** http://www.opensiteexplorer.org/links?site=www.beautystoponline.com%2FAndis-Clippers-s%2F102150.htm So my questions are: The above example shows that the old title tag (www.beautystoponline.com/Andis-Professional-Hair-Clippers-s/102150.htm) has 43 backlinks and the new one (www.beautystoponline.com/Andis-Professiona-Hair-Clippers-s/102150.htm) has 0. Will the links eventually be attributed to the new URL. I understand that the user will still be directed to my website they click the any of the backlinks, but will the link juice pointing the old URL pass through the new one? Would it be better, in the long run, to continue optimizing the link title tags.
On-Page Optimization | | BeautyStop0 -
Hyphens in Domain Name
I have a client who is a business broker. I have just begun working with them, and they are trying to determine the best domain name to use - they have several. business-broker-alabama.com vs businessbrokeralabama.com Which one of these has more value? I know that search engines have somewhat devalued keywords. The first one probably has a little more SEO value, but is going to be a drag in terms of marketing -- saying "business hyphen broker hyphen alabama" is going to get old for them. Thanks!
On-Page Optimization | | csmithal0 -
Optimizing for another keyword than the menu name
Hi I would like to hear if someone could help me decide whether or not it is important regarding SEO that the menu name is the same as the keyword we want to rank for. The site is a static site and one of our most important keywords. To give an example. Our menu name is "cars" and we want to rank for "cheap rental cars".
On-Page Optimization | | KennethK0 -
Should I let Google index tags?
Should I let Google index tags? Positive? Negative Right now Google index every page, including tags... looks like I am risking to get duplicate content errors? If thats true should I just block /tag in robots.txt Also is it better to have as many pages indexed by google or it's should be as lees as possible and specific to the content as much as possible. Cheers
On-Page Optimization | | DiamondJewelryEmpire0 -
Do we need to use the canonical tag on non-indexed pages?
Hi there I have been working in / learning SEO for just over a year, coming from a non dev background, so there are still plenty of the finer points on-page points I am working on. Slowly building up confidence and knowledge with the great SEOMoz as a reference! We are working on this site http://www.preciseuk.co.uk (we are still tweaking the tags and content by the way- not finished yet!) Because a lot of the information is within accordians, a page is generated for each tab of the accordian expanded, for example: http://www.preciseuk.co.uk/facilities-management.php is the main page but then you also have: http://www.preciseuk.co.uk/facilities-management.php?tab=0 http://www.preciseuk.co.uk/facilities-management.php?tab=1 http://www.preciseuk.co.uk/facilities-management.php?tab=2 http://www.preciseuk.co.uk/facilities-management.php?tab=3 http://www.preciseuk.co.uk/facilities-management.php?tab=4 http://www.preciseuk.co.uk/facilities-management.php?tab=5 All of which are in the same file. According to the crawl test, these pages are not indexed. Because it is all in one file, should we add the canonical tag to it, so that this is replicated in all the tab pages that are generated? eg. Thanks in advance for your help! Liz OneResult
On-Page Optimization | | oneresult
liz@oneresult.co.uk2