• Resolved joerni

    (@joerni)


    If I check the validation for this plugin on my website, I got some errors like

    Attribute
    wpd-tooltip not allowed on element div at this point.

    For example this HTML Code <div wpd-tooltip="hide answer"></div>

    Would be nice, if you could check your plugin and make it valide for W3C, cause this is very important

    thx

    • This topic was modified 3 years, 10 months ago by joerni.
    • This topic was modified 3 years, 10 months ago by joerni.
Viewing 1 replies (of 1 total)
  • Plugin Author gVectors Team

    (@gvectors-team)

    Hi @joerni,
    Here is a great answer for people who care about the W3C validation:

    I wouldn’t worry too much about validation. I think validated HTML is important, if you have serious errors, but the custom attribute wpd-tooltip is not the one you should care about. The code works in all browsers. Custom attributes will work in all browsers, even Internet Explorer 6. Custom attributes can also be parsed by JavaScript and there’s no need for the HTML5 doctype to be able to do that.

    There’s a great article by Nicholas Zakas, where he explains the value of validation using custom attributes as an example. See https://www.nczonline.net/blog/2010/08/17/the-value-of-html-validation/

Viewing 1 replies (of 1 total)
  • The topic ‘Validation Error’ is closed to new replies.