Mobile app version of vmapp.org
Login or Join
Deb1703797

: Will Google index and assign keyword value to content in closed accordion sections? I currently have an accordion with my content in on my pages. I know Google is starting to crawl websites

@Deb1703797

Posted in: #Optimization #Seo

I currently have an accordion with my content in on my pages. I know Google is starting to crawl websites in mobile and hidden content shouldn't be an issue at the moment but I'm mixing it up a little and wondering if Google will still read the content and give it SEO value e.g.


Top Accordion - Open
Rest of Accordion - Collapsed


Should all the accordion be open for now?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Deb1703797

1 Comments

Sorted by latest first Latest Oldest Best

 

@Berumen354

Its really up to you and you don't need to worry about leaving the accordion open or closed.

Let's say that the content is hidden to the user, accordions uses JavaScript to hide or show the content, as long as the javascript is accessible to Googlebot you won't have any issue with your SEO, because Google can access Javascript code and understand that you are using it to hide the content and will be able to also parse or read the hidden content from the source code.

You need to check that your website robots.txt file is not blocking Google to understand that the hidden content is temporary. Go to yourdomain.com/robots.txt and make sure no folder or file containing the Accordion Javascript code is blocked like

User-agent: *
Disallow: /folder/accordion/javascript
or
Disallow: /javascript

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme