WordPress.org

Support

Support » Plugins and Hacks » Image Rotator Widget » Widget Fails Validation

Widget Fails Validation

  • llriggs

    @llriggs-llriggs

    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/

Viewing 1 replies (of 1 total)
  • Plugin Author srcoley

    @srcoley

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

    Stephen

Viewing 1 replies (of 1 total)
  • The topic ‘Widget Fails Validation’ is closed to new replies.
Skip to toolbar