The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

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

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Technical SEO Issues
    4. Does hidden text, which appears for an onclick event, get indexed by Google and what SEO impact does this have?

    Does hidden text, which appears for an onclick event, get indexed by Google and what SEO impact does this have?

    Technical SEO Issues
    3 2 656
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JuiceBoxOM
      JuiceBoxOM last edited by

      I'm trying to simplify a conversion process with an onclick event to show text rather than having a completely separate page, but wondering if this is going to negatively impact on SEO, especially considering it's hidden text. I've seen a couple of things out there where you could position the text off the screen and the onclick results in it coming on.

      1 Reply Last reply Reply Quote 0
      • GeorgeAndrews
        GeorgeAndrews last edited by

        Many sites use JavaScript effects to provide a better user experience like you are describing.

        Here's a link to what Google has to say about "hidden" text:

        http://support.google.com/webmasters/bin/answer.py?hl=en&answer=66353

        Generally, if you turn JavaScript off and your page renders all of the text on the page, that text is considered accessible (note: this is important not just for search engines, but also for users who may need to use screen readers to access your site).

        An accessible web page is one that search engines will like. You can continue to use JavaScript to create the user experience you are describing as long as all of the content is accessible when JavaScript is turned off. Do this and you shouldn't have any problems.

        Personally, I wouldn't think you need to position the text off the screen in this case, you can simply use CSS to display:none until your JavaScript event goes off.

        Hope this helps!

        JuiceBoxOM 1 Reply Last reply Reply Quote 0
        • JuiceBoxOM
          JuiceBoxOM @GeorgeAndrews last edited by

          Thanks for your reply George, this really helped!

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • Why images are not getting indexed and showing in Google webmaster
            21centuryweb
            21centuryweb
            0
            6
            2.1k

          • Does google index images or ALT text only?
            Marcus_Miller
            Marcus_Miller
            0
            4
            1.5k

          • How can I get a photo album indexed by Google?
            GastonRiera
            GastonRiera
            0
            4
            413

          • SEO-impact of mouseover text on header pictures
            Chris.Menke
            Chris.Menke
            0
            4
            2.5k

          • Is all in one seo getting rid of my google authorship?
            gfiedel
            gfiedel
            0
            6
            236

          • Unnecessary pages getting indexed in Google for my blog
            Esaky
            Esaky
            0
            4
            394

          • How to get Google to index another page
            Petersen11
            Petersen11
            0
            14
            628

          • Getting Google to index new pages
            scanlin
            scanlin
            0
            5
            886

          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
          • Digital Marketers
          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 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
          • Accessibility
          • Terms of Use
          • Privacy