Title: Validation errors
Last modified: April 27, 2017

---

# Validation errors

 *  Resolved [Torsten Landsiedel](https://wordpress.org/support/users/zodiac1978/)
 * (@zodiac1978)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/validation-errors-48/)
 * Hi!
 * If I use your plugin I get two validation errors:
 * > Bad value “” for attribute “id” on element “a”: An ID must not be the empty
   > string.
 * This one is easily resolved, you just have to add an ID, but I think the attribute
   shouldn’t be added if it is empty to prevent this failure.
 * The next one is not so easy to resolve:
 * > The “sizes” attribute may be specified only if the “srcset” attribute is also
   > present.
 * This seems to be a real bug, because:
 * > If the srcset attribute is absent, or contains no values with a width descriptor,
   > then the sizes attribute has no effect.
 * [https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img)
 * All the best,
    Torsten

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [GeoffBel](https://wordpress.org/support/users/geoffbel/)
 * (@geoffbel)
 * [9 years ago](https://wordpress.org/support/topic/validation-errors-48/#post-9127104)
 * Hey [@torsten](https://wordpress.org/support/users/torsten/),
 * Thank you for bringing this to our attention.
 * At this point I am not getting these validation errors on my end.
    Would you 
   mind telling me with which theme and which version of WordPress you are using
   it ?
 * Even better would be an example URL.
 * Have a good weekend,
 * Geoff B.
 *  Plugin Contributor [Zach Tirrell](https://wordpress.org/support/users/zbtirrell/)
 * (@zbtirrell)
 * [9 years ago](https://wordpress.org/support/topic/validation-errors-48/#post-9132968)
 * This issue is fixed in 4.4.2! Thanks for reporting it.
 *  Thread Starter [Torsten Landsiedel](https://wordpress.org/support/users/zodiac1978/)
 * (@zodiac1978)
 * [9 years ago](https://wordpress.org/support/topic/validation-errors-48/#post-9133079)
 * Confirmed! Thank you very much. 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Validation errors’ is closed to new replies.

 * ![](https://ps.w.org/image-widget/assets/icon-256x256.png?rev=2489603)
 * [Image Widget](https://wordpress.org/plugins/image-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/image-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/image-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/image-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/image-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/image-widget/reviews/)

## Tags

 * [validation](https://wordpress.org/support/topic-tag/validation/)

 * 3 replies
 * 3 participants
 * Last reply from: [Torsten Landsiedel](https://wordpress.org/support/users/zodiac1978/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/validation-errors-48/#post-9133079)
 * Status: resolved