undefined
Skip to content
Moz logo Menu open Menu close
  • Products
    • Moz Pro
    • Moz Pro Home
    • Moz Local
    • Moz Local Home
    • STAT
    • Moz API
    • Moz API Home
    • Compare SEO Products
    • Moz Data
  • Free SEO Tools
    • Domain Analysis
    • Keyword Explorer
    • Link Explorer
    • Competitive Research
    • MozBar
    • More Free SEO Tools
  • Learn SEO
    • Beginner's Guide to SEO
    • SEO Learning Center
    • Moz Academy
    • MozCon
    • Webinars, Whitepapers, & Guides
  • Blog
  • Why Moz
    • Digital Marketers
    • Agency Solutions
    • Enterprise Solutions
    • Small Business Solutions
    • The Moz Story
    • New Releases
  • Log in
  • Log out
  • Products
    • Moz Pro

      Your all-in-one suite of SEO essentials.

    • Moz Local

      Raise your local SEO visibility with complete local SEO management.

    • STAT

      SERP tracking and analytics for enterprise SEO experts.

    • Moz API

      Power your SEO with our index of over 44 trillion links.

    • Compare SEO Products

      See which Moz SEO solution best meets your business needs.

    • Moz Data

      Power your SEO strategy & AI models with custom data solutions.

    NEW Keyword Suggestions by Topic
    Moz Pro

    NEW Keyword Suggestions by Topic

    Learn more
  • Free SEO Tools
    • Domain Analysis

      Get top competitive SEO metrics like DA, top pages and more.

    • Keyword Explorer

      Find traffic-driving keywords with our 1.25 billion+ keyword index.

    • Link Explorer

      Explore over 40 trillion links for powerful backlink data.

    • Competitive Research

      Uncover valuable insights on your organic search competitors.

    • MozBar

      See top SEO metrics for free as you browse the web.

    • More Free SEO Tools

      Explore all the free SEO tools Moz has to offer.

    NEW Keyword Suggestions by Topic
    Moz Pro

    NEW Keyword Suggestions by Topic

    Learn more
  • Learn SEO
    • Beginner's Guide to SEO

      The #1 most popular introduction to SEO, trusted by millions.

    • SEO Learning Center

      Broaden your knowledge with SEO resources for all skill levels.

    • On-Demand Webinars

      Learn modern SEO best practices from industry experts.

    • How-To Guides

      Step-by-step guides to search success from the authority on SEO.

    • Moz Academy

      Upskill and get certified with on-demand courses & certifications.

    • MozCon

      Save on Early Bird tickets and join us in London or New York City

    Unlock flexible pricing & new endpoints
    Moz API

    Unlock flexible pricing & new endpoints

    Find your plan
  • Blog
  • Why Moz
    • Digital Marketers

      Simplify SEO tasks to save time and grow your traffic.

    • Small Business Solutions

      Uncover insights to make smarter marketing decisions in less time.

    • Agency Solutions

      Earn & keep valuable clients with unparalleled data & insights.

    • Enterprise Solutions

      Gain a competitive edge in the ever-changing world of search.

    • The Moz Story

      Moz was the first & remains the most trusted SEO company.

    • New Releases

      Get the scoop on the latest and greatest from Moz.

    Surface actionable competitive intel
    New Feature

    Surface actionable competitive intel

    Learn More
  • Log in
    • Moz Pro
    • Moz Local
    • Moz Local Dashboard
    • Moz API
    • Moz API Dashboard
    • Moz Academy
  • Avatar
    • Moz Home
    • Notifications
    • Account & Billing
    • Manage Users
    • Community Profile
    • My Q&A
    • My Videos
    • Log Out

The Moz Q&A Forum

  • Forum
  • Questions
  • Users
  • Ask the Community

Welcome to the Q&A Forum

Browse the forum for helpful insights and fresh discussions about all things SEO.

  1. Home
  2. SEO Tactics
  3. On-Page Optimization
  4. [HELP!] File Name and ALT Tags

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

On-Page Optimization
5
14
5.4k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as question
Log in to reply
This topic has been deleted. Only users with question management privileges can see it.
  • bubblymaiko
    bubblymaiko last edited by Jan 6, 2015, 12:13 PM

    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!

    1 Reply Last reply Reply Quote 0
    • Shawn_Huber
      Shawn_Huber last edited by Jan 8, 2015, 1:28 PM Jan 8, 2015, 1:28 PM

      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

      1 Reply Last reply Reply Quote 0
      • CommT
        CommT @Leonie-Kramer last edited by Jan 7, 2015, 1:40 PM Jan 7, 2015, 1:40 PM

        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.

        1 Reply Last reply Reply Quote 0
        • Leonie-Kramer
          Leonie-Kramer @CommT last edited by Jan 7, 2015, 5:50 AM Jan 7, 2015, 5:50 AM

          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

          CommT 1 Reply Last reply Jan 7, 2015, 1:40 PM Reply Quote -1
          • isaac663
            isaac663 Subscriber last edited by Jan 6, 2015, 7:19 PM Jan 6, 2015, 7:19 PM

            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.

            1 Reply Last reply Reply Quote -1
            • Shawn_Huber
              Shawn_Huber @CommT last edited by Jan 6, 2015, 4:07 PM Jan 6, 2015, 4:07 PM

              Amen Amelia. I said the same, but not nearly as thorough as you did.

              1 Reply Last reply Reply Quote 1
              • CommT
                CommT last edited by Jan 7, 2015, 1:57 PM Jan 6, 2015, 4:03 PM

                Hi,

                I just wanted to dispel a few myths going on here...

                1. 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.
                2. 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
                3. 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! **

                Shawn_Huber Leonie-Kramer 2 Replies Last reply Jan 7, 2015, 5:50 AM Reply Quote 3
                • isaac663
                  isaac663 Subscriber @bubblymaiko last edited by Jan 6, 2015, 2:02 PM Jan 6, 2015, 2:02 PM

                  No you won't be penalised for that.

                  But do check out my initial response below for a more detailed answer.

                  1 Reply Last reply Reply Quote 1
                  • bubblymaiko
                    bubblymaiko @isaac663 last edited by Jan 6, 2015, 1:13 PM Jan 6, 2015, 1:13 PM

                    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?

                    isaac663 1 Reply Last reply Jan 6, 2015, 2:02 PM Reply Quote 0
                    • isaac663
                      isaac663 Subscriber @bubblymaiko last edited by Jan 6, 2015, 1:03 PM Jan 6, 2015, 1:03 PM

                      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.

                      bubblymaiko 1 Reply Last reply Jan 6, 2015, 1:13 PM Reply Quote 2
                      • isaac663
                        isaac663 Subscriber last edited by Jan 6, 2015, 1:01 PM Jan 6, 2015, 1:00 PM

                        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.

                        1 Reply Last reply Reply Quote 0
                        • bubblymaiko
                          bubblymaiko last edited by Jan 6, 2015, 12:53 PM Jan 6, 2015, 12:53 PM

                          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!

                          isaac663 1 Reply Last reply Jan 6, 2015, 1:03 PM Reply Quote 0
                          • Shawn_Huber
                            Shawn_Huber last edited by Jan 6, 2015, 12:21 PM Jan 6, 2015, 12:21 PM

                            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.

                            1 Reply Last reply Reply Quote 4
                            • Leonie-Kramer
                              Leonie-Kramer last edited by Jan 6, 2015, 12:19 PM Jan 6, 2015, 12:19 PM

                              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

                              1 Reply Last reply Reply Quote 3
                              • 1 / 1
                              1 out of 14
                              • First post
                                1/14
                                Last post

                              Got a burning SEO question?

                              Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


                              Start my free trial


                              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.

                              • See all categories

                              Related Questions

                              • xdunningx

                                Do WooCommerce product tags effect SEO?

                                I'm just curious if I need these product tags and if they impact in any way at all SEO? - whether that be positively or negatively. on1iRin

                                On-Page Optimization | Oct 18, 2017, 5:40 PM | xdunningx
                                0
                              • davidkaralisjr

                                Do Blog Tags affect SEO at all anymore?

                                We're trying to standardize the use of tags on our site amongst writers/editors, and I'm trying to come up a list of tags they can choose from to tag posts with - and telling them to use no more than 10 (absolute maximum) per post. We are also in the process of migrating to a new CMS, and have 8 defined categories that will all have their own landing page within our "News" section. TLDR: Do blog tags have any impact on SEO anymore? Are they solely meant to help users find articles related on popular topics, or does creating a tag for a popular topic help to improve organic visibility? Full Question: With the tag standardization, I want to make sure we're creating the most useful and effective tags; and the UX/SEO sides of my brain are conflicted. To my understanding, creating a tag about a high volume topic in an industry helps establish the website's relevance to Google/other search engines about that topic and improves overall relevance; but the tag feed page (ex: http://freshome.com/tag/home-protection/) isn't really meant for organic search visibility. So my other question is, is it worth it to noindex the tag pages in the robots.txt? Will that affect any benefit to increased relevance for Google (if there is any)? I'm interested to hear others' thoughts and suggestions. Thanks in advance!

                                On-Page Optimization | Aug 2, 2016, 4:09 PM | davidkaralisjr
                                0
                              • BeckyKey

                                Alt Tags on multiple product images

                                Hi I work on SEO for an ecommerce site and wanted to find out how important it is to optimise all images with alt tags. We have alt tags in place, however have not optimised descriptions for the following example images: Front of cupboard Back of cupboard Side of cupboard etc Is this dangerous for SEO if these images all have the same alt tag? We have thousands of products so it would be a huge job to update these, but if it's crucial for SEO we can work through our priorities. Thank you!

                                On-Page Optimization | Sep 17, 2015, 8:04 AM | BeckyKey
                                0
                              • HireSpace

                                Alt text / internal linking

                                Hi everyone A question about best practice when linking from pictures on our homepage - hirespace.com We have an option of using divs with background images (nicer in terms of design) but it means that we can't use anchor text or alt text to show Google what these internal links are about. The other option is to use images which do not allow us as much flexibility in terms of CSS but would allow us to use alt text. There is also an opinion that we should have separate text links at the bottom of the homepage to get the anchor page in. What is best practice in this situation - is alt text worth sacrificing some CSS flexibility for? How important is anchor/alt text for internal linking? Thanks guys.

                                On-Page Optimization | Aug 5, 2014, 3:39 PM | HireSpace
                                0
                              • Switch_Digital

                                How to separate your - keywords - and | Brand name in the Title Tag

                                I have traditionally used hyphens (-) and vertical bars (|) to separate out keywords/brands in title tags. A client has asked if other characters will work such as tilde (~), apersat (@), forward slash (/) etc. Are there any special characters we should steer clear of?

                                On-Page Optimization | Sep 26, 2013, 12:06 AM | Switch_Digital
                                0
                              • nyc-seo

                                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 | Feb 28, 2013, 5:25 PM | nyc-seo
                                0
                              • loopyal

                                New adsense account request rejected - need help

                                I'm moving my company to Australia, shutting down the US company. Google said I had to request a new Adsense account, so I did. They opened the account, I added the same ads, in the same places, and they have rejected my application. What do I do now? The other account has been open since 2004. They never said a word about this before. After two years of working on improvements, now I'm just about destroyed. I need some help, because I thought I knew what I was doing, but obviously not! As usual. their helpful response is no help at all. http://bit.ly/NPACk - there are no G ads on the front page http://bit.ly/V8ubB5  - this is a typical story http://bit.ly/UpTC2r - this is a typical press release As mentioned in our welcome email, we conduct a second review of your AdSense application once AdSense code is placed on your site(s). As a result of this review, we have disapproved your account for the following violation(s): Issues: - Site does not comply with Google policies --------------------- Further detail: Site does not comply with Google policies: We're unable to approve your AdSense application at this time for one of the reasons listed below or another reason listed in our program policies ([https://support.google.com/adsense/bin/topic.py?topic=1271507](https://support.google.com/adsense/bin/topic.py?topic=1271507)). We recommend that you review the information provided below and make the necessary changes to your site. 1\. You need to improve your site’s user experience To ensure a good experience for users and advertisers, publishers participating in the AdSense program are required to adhere to the Webmaster Quality guidelines ([http://www.google.com/support/webmasters/bin/answer.py?answer=35769](http://www.google.com/support/webmasters/bin/answer.py?answer=35769)). These guidelines provide many tips to help you to provide a positive experience for your users. You’ll also find more useful information in this AdSense blog post which highlights five user experience principles: [http://adsense.blogspot.com/2012/10/publisher-insights-part-1-5-principles.html](http://adsense.blogspot.com/2012/10/publisher-insights-part-1-5-principles.html). Applying these principles will help you to provide a great experience for users on your site. 2\. Your site is a chat site which is not compliant with our policy Publishers are encouraged to experiment with a variety of ad placements and ad formats. However, as stated in our program policies ([http://support.google.com/adsense/bin/answer.py?hl=en&answer=48182](http://support.google.com/adsense/bin/answer.py?hl=en&answer=48182)), AdSense publishers may not place ad code, search boxes or search results in chat programs. This includes, but is not limited to, instant messaging (IMs), chat sites and other pages that contains dynamic content. 3\. You need to remove all content that encourages violation of Google product policies Publishers may not provide the means to circumvent the policies of any Google products, such as by allowing users to download YouTube videos, or encourage the violation of Google AdSense policies. Moreover, publishers may not make use of Google brand features such as logos, screenshots, or other distinctive features without our express permission. For more information, please visit our Help Center ([http://support.google.com/adsense/bin/answer.py?hl=en&ctx=as2&answer=1348688&rd=1](http://support.google.com/adsense/bin/answer.py?hl=en&ctx=as2&answer=1348688&rd=1)). 4\. Your site is dedicated to the sale and distribution of term papers We’re happy to see our publishers’ sites full of useful and informative content, however, as stated in our program policies ( [https://www.google.com/adsense/support/as/bin/answer.py?hl=en&answer=105953](https://www.google.com/adsense/support/as/bin/answer.py?hl=en&answer=105953) ), the sale or distribution of term papers, or any other content that is illegal, promotes illegal activity, or infringes on the legal rights of others is not allowed. Please review the AdSense program policies ([http://support.google.com/adsense/bin/answer.py?hl=en&answer=48182](http://support.google.com/adsense/bin/answer.py?hl=en&answer=48182)) to ensure that your site meets all of the requirements for approval. As soon as you’ve made the necessary changes, we’ll be happy to take another look at your application.

                                On-Page Optimization | May 22, 2014, 9:32 AM | loopyal
                                0
                              • ydop

                                Are ampersands in title tags helpful or harmful?

                                Do ampersands in the title tag hurt your site's ranking?

                                On-Page Optimization | Jul 22, 2011, 3:25 PM | ydop
                                1

                              Get started with Moz Pro!

                              Unlock the power of advanced SEO tools and data-driven insights.

                              Start my free trial
                              Products
                              • Moz Pro
                              • Moz Local
                              • Moz API
                              • Moz Data
                              • STAT
                              • Product Updates
                              Moz Solutions
                              • SMB Solutions
                              • Agency Solutions
                              • Enterprise Solutions
                              Free SEO Tools
                              • Domain Authority Checker
                              • Link Explorer
                              • Keyword Explorer
                              • Competitive Research
                              • Brand Authority Checker
                              • Local Citation Checker
                              • MozBar Extension
                              • MozCast
                              Resources
                              • Blog
                              • SEO Learning Center
                              • Help Hub
                              • Beginner's Guide to SEO
                              • How-to Guides
                              • Moz Academy
                              • API Docs
                              About Moz
                              • About
                              • Team
                              • Careers
                              • Contact
                              Why Moz
                              • Case Studies
                              • Testimonials
                              Get Involved
                              • Become an Affiliate
                              • MozCon
                              • Webinars
                              • Practical Marketer Series
                              • MozPod
                              Connect with us

                              Contact the Help team

                              Join our newsletter
                              Moz logo
                              © 2021 - 2025 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                              • Accessibility
                              • Terms of Use
                              • Privacy

                              Looks like your connection to Moz was lost, please wait while we try to reconnect.