I've been looking at the use of the role attribute for HTML5/XHTML in the W3C: http://www.w3.org/TR/wai-aria/roles and was wondering if there are any sites that use this or examples of how/when to use the role attribute.
I understand how it works, but would like to see how other people have used in their sites/projects.
Also, am i correct in assuming that you need to use the values defined in the link above (e.g article, columnheader, definition, directory, document etc), or are you also able to create your own values/definitions for the role attribute?
Majority of Yahoo websites use it http://www.yahoo.com
YUI encourages role attribute, if you are not sure how to put role, this tool might help you. http://developer.yahoo.com/yui/grids/builder/
You can also find role attribute on my websites e.g http://www.hereismystuff.com (or purplegene.com etc)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With