Google’s John Mueller said on Reddit that Google uses many different signals for ranking and that a website won’t outrank your site just because of hidden text.
“A site is not going to outrank your site just because of hidden text. We use many, many signals for ranking. Inversely, just having hidden text on a page won’t get the site banned from Google.
Lots of sites get things wrong, lots of sites have text accidentally hidden (or even purposely hidden until you interact with the UI) — sites aren’t perfect and so our algorithms work to deal with these imperfections in a reasonable way.
Sometimes that means the top ranking site – the one our algorithms currently think is a good match for a user’s query – is one that does a lot of things technically incorrect.”
Optimize your web pages for Google
The Top 10 Optimizer tool in SEOprofiler can help you to optimize your web pages for Google: