• 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

    https://ww.wp.xz.cn/plugins/easy-author-image/

Viewing 1 replies (of 1 total)
  • @ Vladimir: Thanks for pointing this out. I just run into the same problem.
    @ Lawsonry: Please change this in a future update. Otherwise: great plugin, thanks 🙂

Viewing 1 replies (of 1 total)

The topic ‘Missing alt attribute’ is closed to new replies.