Mobile app version of vmapp.org
Login or Join
Murray432

: SEO - Hidden with CSS, visible with JS? Hiding stuff can be cloaking if it's made for make the page rank higher. However here is a question about hiding content, not for higher ranking but

@Murray432

Posted in: #Seo

Hiding stuff can be cloaking if it's made for make the page rank higher. However here is a question about hiding content, not for higher ranking but for the user.

Question


Hiding content with CSS and showing it with JS is dangerous (because Google don't read JS well)?
Hiding content with JS and showing it with JS is safer?
Hiding content is ok if it can be visible again by user no matter technique?


A source that support your answer would be nice.

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Murray432

2 Comments

Sorted by latest first Latest Oldest Best

 

@Heady270

Google expects that when a user searches for a phrase and then clicks on your site, the user will be able to find the text that the user searched for. That means that any text that has keywords in it should be shown to all users without requiring interaction on the page.

In addition to incurring a specific penalty assessed by Google if they detect "hidden text", users tend to back out of your site when they don't find what they are looking for. Your rankings will fall drastically for any query where users bounce back to Google and look for something else. Google measures the "return to SERPs" and will de-rank pages that don't do well on this metric for a search term.

That being said, there is no absolute ban on hiding content using CSS or Javascript that the user can then later expose through an action. Some common examples of this are:


Drop down menus: hidden menu text by default, but exposed on mouse-over
Tool tips: exposed when a user mouses over an element
Tabs: exposed when user clicks on the tab


These techniques are generally fine with Google, regardless of the specific technique used to initially hide the text. Just be careful not to put keyword rich text into anything that is initially hidden.

10% popularity Vote Up Vote Down


 

@Sherry384

because Google don't read JS well


Google reads JS very well.

- in this video Matt Cutts said about JS crawling.

It doesn't matter (how you hide the content) if you hide it with no intention to manipulate site search metrics and to deceive crawler. You may use either CSS or JS.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme