WeCodeAcademy
❮ openaria-label ❯

role

The ARIA role, for accessibility.

Applies to: all elements

Syntax

<div role="button">

Example

Examplehtml
Open in editor »

← All of HTML Attributes