: 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
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?
More posts by @Deb1703797
1 Comments
Sorted by latest first Latest Oldest Best
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
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.