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
- type="number"
A control for setting the element’s value to a string representing a number.
- aria-label
Defines a string value that labels the current element.
- ::marker
The ::marker pseudo-element represents the automatically generated marker box of a list item.
- display: grid
A grid container establishes a new grid formatting context for its contents.