I recently learned of the existence of the hidden attribute. It basically hides elements that are not relevant in the current state of the webpage (e.g., a user that is not logged in):
<p hidden>Welcome back!</p>
Will search engines ignore elements that have the boolean attribute hidden attached to them?
displayCSS property (which can make this attribute a bit misleading). – MrWhite Dec 31 '20 at 23:59Alernatively: just check in google with a full phrase in the hidden part, you will see if google find it and have your dedicated answer to this question
– Patrick Valibus Jan 07 '22 at 09:57