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. Web Design
    4. How to fix non-crawlable pages affected by CSS modals?

    How to fix non-crawlable pages affected by CSS modals?

    Web Design
    2 2 86
    • 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.
    • Dan-Louis
      Dan-Louis last edited by

      I stumbled across something new when doing a site audit in SEMRUSH today ---> Modals.

      The case: Several pages could not be crawled because of (modal:) in the URL.

      What I know: "A modal is a dialog box/popup window that is displayed on top of the current page" based on CSS and JS.

      What I don't know: How to prevent crawlers from finding them.

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

        Hi Dan-Louis – all depends on what content these modals are serving, and how your modals are being served.

        1. Have you checked to make sure that some resource your modals rely on isn't blocked in /robots.txt (you can also plug a URL with a modal into Search Console's robots.txt checker)? What about meta robots noindex?
        2. On mobile, do you have pop ups that are obscuring content on the page?
        3. Have you checked any pages with these pop ups/modals in Search Console's fetch and render tool? What resources, if any, are blocked?

        TBH I don't like relying on SEMRush (or any singular SEO tool for that matter) for ID'ing technical SEO problems. When was the last time you performed a tech audit?

        Keep me posted on what you uncover...

        1 Reply Last reply Reply Quote 1
        • 1 / 1
        • First post
          Last post
        • We added hundreds of pages to our website & restructured the layout to include 3 additional locations within the sub-pages, same brand/domain name. How long could Google take to crawl/index the new pages and rank the keywords used within those pages?
          Roman-Delcarmen
          Roman-Delcarmen
          0
          2
          48

        • Fixing Render Blocking Javascript and CSS in the Above-the-fold content
          Khannnnnnnnnnns
          Khannnnnnnnnnns
          0
          9
          90.9k

        • How to check if a web page is a dynamic web page? How to check one if it is a static web page?
          esiow2013
          esiow2013
          1
          5
          5.6k

        • My 404 page is showing a 4xx error. How can that be fixed?
          ThompsonPaul
          ThompsonPaul
          0
          4
          274

        • Landing pages vs internal pages.
          kbloemendaal
          kbloemendaal
          0
          20
          4.8k

        • I have a button that repeats it self many times on same page, what can i do so button name does not affect my SEO?
          SeMeAntoja
          SeMeAntoja
          0
          3
          483

        • Best way of conserving link juice from non important pages
          RyanKent
          RyanKent
          0
          2
          648

        • Combining web pages and it's affects on SEO?
          aarondicks
          aarondicks
          0
          3
          2.0k

        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