Labeling inputs, elements, and widgets add context and clarity for assistive technology such as screen readers. Beyond adding accessible labels to elements and widgets we can also provide additional descriptions. Similar to how an aria-labelledby
attribute works, an aria-describedby
attribute can link the text from another element or elements to be used as a description for the given element.
Some example use cases for using an aria-describedby
are: