Are icon fonts bad for SEO?

Posted by user359650 on Pro Webmasters See other posts from Pro Webmasters or by user359650
Published on 2013-06-26T21:03:32Z Indexed on 2013/06/26 22:30 UTC
Read the original article Hit count: 258

Filed under:
|
|

Instead of using <img> tags for your icons, you can use icon fonts on <span> tags (which offer some advantages such as not having to create a sprite, being able to scale icons up/down without degrading quality...).

However, by using an icon font you give up the <img> alt attribute (that attribute can help you with SEO). There is a way to add text to the <span> and hide it, but I wonder whether this is recognized / penalized by Google (as it seems to go against the quality guidelines).

Are icon fonts bad for SEO (i.e. by using icon fonts you give up the alt attribute) ? Would inserting text in font icon tag and hiding it with CSS (text-indent: -9999px) be recognized / penalized by Google ?

© Pro Webmasters or respective owner

Related posts about seo

Related posts about images