aria-roledescription
Identifies the element (or elements) that describes the object. aria-roledescription (property)
Links about aria-roledescription
Avoid aria-roledescription
HTML has all sorts of built-in features that, when used correctly, are accessible, will localize, and which just work. For example, if I want a button, I use <button>, and a screen reader will announce it as button. For users in other languages, they will hear whatever is their word…
Code sample
<div role="region" aria-roledescription="slide" id="slide42" aria-labelledby="slide42heading">
<h1 id="slide42heading">Quarterly Report</h1>
<!-- remaining slide contents -->
</div>
Explore other pages
- button
A control allowing a user to trigger actions.
- meter
A scalar measurement within a known range, or a fractional value.
- scroll-margin
Represents outsets defining the scroll snap area that is used for snapping this box to the snapport.
- article
Represents a self-contained composition in a document, page, or application.