Skip to content
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

HTML validation #2

Open
bmix opened this issue Mar 18, 2018 · 0 comments
Open

HTML validation #2

bmix opened this issue Mar 18, 2018 · 0 comments

Comments

@bmix
Copy link

bmix commented Mar 18, 2018

Hello,

thanks for jQuery'ing this! Highly appreciated!

I am, by no means, well known in HTML5 or jQuery, but as I see it, the use of the private element attributes for configuration are incompatible with Polyglot XHTML5 and even result in invalid HTML5 (plain, that is). See Stackoverflow: Custom attributes - Yea or nay? for more on this. In order to result in valid HTML5, all that would be needed is the use of 'data-' as the start of the private attributes. For Polyglot the empty attributes (first, second, third in 'index.html') would need to become first="first" I think, but I did not investigate much into it.

Is there any special reason, you do it this way? Could this be changed? (I am aware, that configuration can be done differently)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant