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. On-Page / Site Optimization
    4. Text in collapsed section

    Text in collapsed section

    On-Page / Site Optimization
    5 2 115
    • 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.
    • MickEdwards
      MickEdwards last edited by

      Does anyone have any quantifiable evidence regarding text that is collapsed - when clicked the section expands and presents the text, against just having the text on view in the page.

      That is, instead of having a FAQ with question followed by answer, there is a question which you click to expose/expand the answer.

      Could the collapsed text be potentially detrimental to ranking?

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

        Hi Michael,

        I am not sure what you are looking for in terms of evidence, but this is a widely accepted and often implemented tactic for web design purposes, and this will not get you into trouble unless a) you are "hiding" huge amounts of text (many, many times bigger than the page itself), or b) if the text has nothing to do with the content of the page that is available on page load. An FAQ with expandable answers should always be fine, but consider providing the first sentences of the answer on page load if possible.

        MickEdwards 1 Reply Last reply Reply Quote 1
        • MickEdwards
          MickEdwards @JaneCopland last edited by

          What i'm not happy about is that the module running on javascript loses all content if javascript is not enabled in the browser.  I was under the impression it is not a good idea to work like that and if js not running all text should be visible.  Is that right?

          JaneCopland 1 Reply Last reply Reply Quote 0
          • JaneCopland
            JaneCopland @MickEdwards last edited by

            Hi Michael,

            Ah - that's different yes. You would want to be doing this with CSS, with the collapsed content available in HTML. Google and other search engines don't regularly execute js so would likely not see the content. Manual investigation would let a webspam team member see that you're not hiding anything maliciously, but it's not a risk you want to take.

            Can you do this with CSS?

            Cheers.

            MickEdwards 1 Reply Last reply Reply Quote 2
            • MickEdwards
              MickEdwards @JaneCopland last edited by

              Possibly.  This is on DNN which seems to be like a big old clunky dinosaur.

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              • Footer Section
                KevinBudzynski
                KevinBudzynski
                0
                5
                81

              • How does a collapsed section affect on page SEO?
                TheeDigital
                TheeDigital
                0
                3
                3.7k

              • Is alt text on images treated like text on a page?
                BeardoCo
                BeardoCo
                1
                4
                259

              • Text Placement?
                Jungles
                Jungles
                0
                12
                302

              • Okay to have text in javascript?
                cakelady
                cakelady
                0
                3
                287

              • I have 60 sq blank boxes!What do i put in the IMG ALT TEXT?....Or just leave the img alt text blank?
                AlanMosley
                AlanMosley
                0
                4
                364

              • How can I stop google reading a certain section of text with my H1 tag?
                AlanMosley
                AlanMosley
                0
                3
                468

              • Same anchor text
                oznappies
                oznappies
                0
                9
                907

              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