Is serving FAQ sections expanded only for Googlebot considered cloaking?

grykit

Newbie
Joined
Jul 14, 2026
Messages
1
Reaction score
0
I have a prerendered React application in Netlify legacy prerenderer with FAQ section.
Currently, normal users see the FAQ questions collapsed in an accordion. When they click a question, the answer is displayed.
For Googlebot, I serve the same FAQ content but with the FAQ sections expanded by default during crawling.
If I don't use a user-agent-based approach, the prerendered HTML/code will contain only the FAQ questions in the default state, with the answers hidden until a user clicks. Does Googlebot expand/click these FAQ elements during crawling, or will it only see the questions?
The questions and answers are identical for both Googlebot and users. The only difference is the initial UI state (collapsed for users, expanded for Googlebot).
I would like to know if this approach is considered cloaking under Google Search guidelines, or if it is acceptable because the content is not different and users can access all the same answers by clicking.
What is the recommended implementation for making FAQ answers visible to Google while keeping a clean accordion user experience?
 
Back
Top