HTML5 aria-* and role
In the bootstrap see role and aria-*, do not know what to do. Google, find aria means accessible Rich Internet application. Accessible is generally a function for inconvenient people, such as Windows Magnifier, voice reading, high-contrast themes, and so on.
HTML5 attributes added to HTML tag: role and aria-*.
Role is to describe the actual role of a nonstandard tag. For example, with a div button, then set the div role= "button", the auxiliary tool can recognize this is actually a button.
ARIA Roles
Use the ' ARIA role ' to indicate the ' a generic tag is playing ' role of ' a ' standard widget like a button.
And aria-* 's role is to describe this tag in the visual context of the specific information. Like what
<div role= "checkbox" aria-checked= "Checked" ></div>
The auxiliary tool will know that this div is actually a checkbox's role and is selected.
ADD ARIA for screen readers
ARIA attributes provides semantic information to screen readers this is normally conveyed.
Note This using ARIA does not automatically implement the standard widget behavior, and you'll still need to add focus Managem ENT and keyboard navigation yourself.