-
-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
data-* attribute giving "Unknown HTML attribute(s)" #11
Comments
Yes, you are certainly correct about both of those attributes. I will not be able to get an opportunity to work on this for a while. If you end up making the changes yourself, we'd be happy to incorporate your code. |
Hi, I began working on a pull request and while doing so I ran into the problem of validating XML attribute names. According to the W3 spec here http://www.w3.org/TR/2011/WD-html5-20110525/elements.html#embedding-custom-non-visible-data-with-the-data-attributes the Thanks, and apologies for the bikeshedding |
The goal with this validation is to help a programmer catch problems early. Misspelling something can take a surprisingly long time to find sometimes. So we want to be as helpful as we can be, but not tie ourselves in knots doing it ;-) In which case, I think checking for |
@meowcakes checking: given you have closed this, are you then working on a patch to wave |
Yup, pull request opened here #13 |
Thanks! |
Hello,
When using the
:attr
option on, for example, ah-box
, the validator will complain that it is not valid HTML when using adata-*
attribute. This should not be the case as this is a HTML5 standard. The same would apply toaria-*
attributes.Thank you
The text was updated successfully, but these errors were encountered: