Missing alt attribute
-
Hi again,
I tried to validate (W3C) page that has few avatars generated by this plugin.
Validator return errors because alt attribute is missing from image tag.
I fixed it so I hope you will include this in update:line 214:
$myavatar = '<img alt="' .$alt . '" class="avatar avatar-'.$size.' photo" width="64" height="64" src="'.$url.'"/>';line 222:
$myavatar = "<img alt='{$alt}' src='{$default}' class='avatar avatar-{$size} photo avatar-default' height='{$size}' width='{$size}' />";Vladimir
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Missing alt attribute’ is closed to new replies.