aria-roledescription attribute | ariaRoledescription property

[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]

Defines a human-readable description for the role element. Aria-roledescription should be localized by the author.

Syntax


<element aria-roledescription="..." ... />

Remarks

Used in Roles
All elements

 

Aria-roledescription should only be used on elements that equate to a valid WAI-ARIA role or have a valid WAI-ARIA role applied.

Examples


<div role="button" tabindex="0" aria-roledescription="attachment button">img.png</div>

 

 

Show: