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: none, presentation or tab.

DPub Role: doc-subtitle

Global aria-* attributes and any aria-* attributes applicable to the allowed roles.

li role=listitem

Roles: menuitem, menuitemcheckbox, menuitemradio, option, none, presentation, radio, separator, tab or treeitem

DPub Roles: doc-biblioentry, doc-endnote.

Global aria-* attributes and any aria-* attributes applicable to the allowed roles.

div No corresponding role

Any role

Global aria-* attributes and any aria-* attributes applicable to the allowed roles.