Support » Plugin: WP jQuery Lightbox » Not validating in HTML5 because rel attribute

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author ulfben


    Though I’m no longer sure it’s worthwhile. The current non-validating solution causes no problem for anyone, ‘cept with validation.

    Point being; I’m not convinced that validation for it’s own sake is valuable.

    Creating a solution is relatively straight forward (data-* attributes in html5 is valid), but I would still have to support the old method for eternity. Plenty of users have hard coded rel=”lightbox” in their content.

    I’m currently working on the codebase for an upcoming refresh and I’ve got this thing rolling around in my head. Any input is welcome.

    Plugin Author ulfben


    I chose not bother with this. The rel-attribute causes no problem, but changing the convention to use class or data-attributes now would be a headache. So I’m holding off for now.

    If HTML5 validation is important to you, there are other plugins.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Not validating in HTML5 because rel attribute’ is closed to new replies.