• I just had an SEO audit done on one of our sites and they pointed out that the alt tag on our avatars should really be changed to the author name. I changed line 1434 (I’m using v 12.0 of the plugin) to this:

    $avatar = “<img src='{$src}’ class='{$class} avatar-{$size} avatar-default’ height='{$size}’ width='{$size}’ style=’width: {$size}px; height: {$size}px;’ alt='” . $user->display_name . “‘ />”;

    which inserts the authors display name as the alt tag. Can this be included in future updates?

    http://wordpress.org/plugins/add-local-avatar/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘alt tag on image’ is closed to new replies.