Identifies the element (or elements) that describes the object. aria-describedby (property)
Diving deep into three attributes that bring clarity to elements in assistive technologies.
Be careful when you use the aria-label, aria-labelledby, and aria-describedby attributes, because they do not work consistently with all HTML elements. This is a short note on when (and when not) to uTags:
A well-designed user interface (UI) should clearly identify important content and controls. Often people correlate this to using prominent visual cues to help guide individuals through a task or pointTags:
The aria-describedby attribute is used to indicate the IDs of the elements that describe the object. It is used to establish a relationship between widgets or groups and text that described them. This is very similar to aria-labelledby: a label describes the essence of an object, while a description…
<button class="notifications" aria-describedby="notifications-desc">
<div role="tooltip" id="notifications-desc">View and manage notifications settings</div>