Skip to content

HTML validation #2

Description

@bmix

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions