problem with data-

Folks, are we braking the html standard by using data- attributes?



I quote



"


https://www.w3.org/TR/html50/dom.html#custom-data-attribute are intended to store custom data private to the page or application, for which there are no more appropriate attributes or elements.

These attributes are not intended for use by software that is independent of the site that uses the attributes.

"








From w3c schools (IE out in the wieled...)
"
Note: Custom attributes prefixed with "data-" will be completely ignored by the user agent."



In pother words we are going against how dat- is intended to be used.





All the best



Lisa Seeman



http://il.linkedin.com/in/lisaseeman/, https://twitter.com/SeemanLisa

Received on Monday, 11 March 2019 15:13:40 UTC