Title: Doesn´t validate HTML5
Last modified: August 20, 2016

---

# Doesn´t validate HTML5

 *  [LichtAnd](https://wordpress.org/support/users/lichtand/)
 * (@lichtand)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/doesnt-validate-html5/)
 * Hi there,
 * when I validate my site I get following Errors:
 * >  `Bad value shadowbox[sbpost-2];player=img; for attribute rel on element a:
   > Illegal character in path component. The string shadowbox[sbpost-2];player=
   > img; is not a registered keyword or absolute URL.
   > … rel=”shadowbox[sbpost-2];player=img;”><img class=”size-medium wp-image-8 
   > alig…
   >  `
 * Web research lead to the following result:
 * “shadowbox[sbpost-2];player=img;” is not a valid value für the “rel=” attribute.
 * It would be really great if you´d change this to the, as far as I know, HTML5-
   valid “data-rel”- attribute.
    Maybe add an option to choosen between both methods.
 * Thanks for the great plugin anyway!
 * [http://wordpress.org/extend/plugins/shadowbox-js/](http://wordpress.org/extend/plugins/shadowbox-js/)

The topic ‘Doesn´t validate HTML5’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/shadowbox-js.svg)
 * [Shadowbox JS](https://wordpress.org/plugins/shadowbox-js/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shadowbox-js/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shadowbox-js/)
 * [Active Topics](https://wordpress.org/support/plugin/shadowbox-js/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shadowbox-js/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shadowbox-js/reviews/)

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [LichtAnd](https://wordpress.org/support/users/lichtand/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/doesnt-validate-html5/)
 * Status: not resolved