What is the purpose of the “role” attribute in HTML?
Most of the roles you see were defined as part of ARIA 1.0, and then later incorporated into HTML via supporting specs like HTML-AAM. Some of the new HTML5 elements (dialog, main, etc.) are even based on the original ARIA roles. http://www.w3.org/TR/wai-aria/ There are a few primary reasons to use roles in addition to your … Read more