Swap aria-*, role in Attribute order section
nullbrewer opened this issue · 1 comments
nullbrewer commented
role
should be defined first, followed by an aria-*
property since a lot of ARIA roles expect certain properties to be used in conjunction with.
For example,
<span role="checkbox" aria-checked="true"></span>
makes perfect sense, rather than to have the attributes the other way around.
mdo commented
I dig that. Want to open a PR? :)