How can I edit the alt tag? I just did an SEO check and found the alt tags for my facebook and linked in icons are not there. The Title tags are fine but no alt tags. Thanks

Comments

jenlampton’s picture

Category: support » bug
Status: Active » Fixed

I think you just caught a bug! :) The alt was supposed to be the same as the title, but it looks like instead the title got set twice. I've committed a fix to the latest dev release and it will be included in the next release.

To answer your question about how to override the alt text, you can update to the latest dev version and override the function theme_on_the_web_icon(). In there you will see the values that are being passed to theme_image, including ALT.

Before a recent change to the theme functions, overriding the alt text would have been pretty hard, so if you need to override it, please use the dev version until the next release comes out.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.