Is hover text that appears when an image is hovered over (and is hidden when it is not) acceptable? Or could this be misinterpreted by Google as deceptive due to the fact that the CSS hides this text until the image is hovered over?
I sometimes create image galleries where the enlarged hover image has a couple of lines of text underneath. For example, the span text is shunted to the left out of sight by the css until hovered over, eg:
Text that appears only on hover and is hidden by css outside of hover
Whilst this text is not designed to be keyword stuffed, as it describes the images that are relevant to the page, it does often contain different keywords in the same way that alt text does.
I believe that a manual inspection would show that I`m doing nothing wrong, but am not sure if it would negatively impact any algorithms for spam? (I have just read Google`s Search Quality Rating Guidelines where it says on section 2.1 that hidden text is a spam flag and that:
"It may be placed outside the normal viewing area. For example, there may be a large blank space between
the normal viewing area and a “hidden” area of text all the way at the bottom of the page or far to the right. ")
Also, for SEO purposes, does this span text have the same weight/usefulness as alt text or should I have alt text as well? (For image galleries, the span text looks better.)?