Examples of Rules of ARIA attribute usage by HTML element
HTML element |
Implicit ARIA semantics |
ARIA roles, states and properties which MAY be used |
---|---|---|
h1 to h6
|
role=heading aria-level assigned the number in the element's tag name. |
Roles:
DPub Role:
Global |
li
|
role=listitem
|
Roles:
DPub Roles:
Global |
div
|
No corresponding role |
Any
Global |