|Hidden text on interactive pages - Is it a safe practice?|
For example, after a page loads, it has a text paragraph hidden using a "display:none" directive, and the paragraph opens up only when a user clicks a button.
I am a bit concerned about how GoogleBot handles the hidden text in this case. The text hiding is not done for rankings manipulation, and there is no keyword stuffing here, just a regular text paragraph. It seems to me very natural to have hidden text in interactive web applications, so I guess Google must handle that correctly, but does anyone here can reflect on this based on his own experience?
Some people call this show/hide divs, and it's a common practice today. I've been using it for years, and it's been completely OK with Google as long as some user interaction can make the text visible.
I'd say the issue to think about is the user experience for anyone arriving from a search result. I try to include a script to change the page so that their search term is visible for them, if the default rendering of the page has it hidden.
Bearing in mind that Google has little or no JS skills, how does it know that the text can be revealed by the user
If you search for something that's in one of the 'hidden' tabs on Google, eg "The Spry Data set transforms complex data sources", you will see that it comes up on the first page of results.
thanks all for the reply
|... completely OK with Google as long as some user interaction can make the text visible. |
|If you search for something that's in one of the 'hidden' tabs on Google, eg "The Spry Data set transforms complex data sources", you will see that it comes up on the first page of results. |
so basically, it means that googlebot can execute JS code, and figure out how a page is rendered ?
|so basically, it means that googlebot can execute JS code, and figure out how a page is rendered ? |
As I understand it, rogoff is correct. Ranking problems would come up from a manual or editorial feedback inspection, and not by algorithm alone. As long as all the content can be made visible by user interaction, a manual or editorial feedback inspection does not cause a problem.