I can\'t seem to understand why I should be happy with HTML5 allowing custom attributes? Why would I use them?
Using the data- custom attribute is future proofing your html5 page, no future browsers adhering to the spec will use data-[attribute] therefore will not clash with your custom attribute.
data-
data-[attribute]