I have read W3C\'s page on this, but it is still vague to me. Is the role
attribute\'s purpose to clarify the code? Or will it be interpreted by some browsers o
The document you refer to is part of the work of the now discontinued XHTML 2 working group. It is effectively obsolete.
HTML5/XHTML5 also has a role
attribute. Its definition is similar but somewhat more limited - its purpose is to indicate Accessible Rich Internet Applications (ARIA) roles, so that assistive technology such as screen readers can better inform users about the purpose of UI components (widgets), and also help them navigate the web page more easily.
The list of valid roles for ARIA is available at http://www.w3.org/TR/wai-aria/#roles