WordPress.org

Ready to get started?Download WordPress

Forums

Image Rotator Widget
Widget Fails Validation (2 posts)

  1. llriggs-llriggs
    Member
    Posted 1 year ago #

    I really like this plugin - very simple, does exactly what I want. EXCEPT...there's an HTML validation problem.

    The line that's causing the widget to not pass validation is as follows:

    <img src="http://mysite.org/wp-content/uploads/2013/02/image1.jpg" data-image-link="http://mysite.org/faq/" class="pointer_cursor" />

    The validator says this: "An img element must have an alt attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images."

    I have specified alternative text in the media library for each of the 3 images I put into the rotator, but the plugin is not coded to include alt text.

    Validation is an important component of my websites. Please help, thanks!

    http://wordpress.org/extend/plugins/dk-new-medias-image-rotator-widget/

  2. srcoley
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks for pointing this out. I'll add this to the next update. Thanks for your kind words and thanks for using!

    Stephen

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic