aria-relevant
Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. aria-relevant (property)
Links about aria-relevant
Why authors should avoid aria-relevant
The ARIA attribute, aria-relevant, is supposed to affect how live regions are processed by screen readers. It is designed to provide a hint to screen readers that content being removed from a web…
Using the aria-relevant attribute
The aria-relevant attribute is an optional value used to describe what types of changes have occurred to an aria-live region, and which are relevant and should be announced. Any change that is not relevant acts in the same manner it would if the aria-live attribute were set to off.
Code sample
<div id="current-users" aria-live="polite" aria-relevant="all"></div>
Explore other pages
- title
Represents advisory information for the element.
- button
A control allowing a user to trigger actions.
- clamp()
Takes three calculations—a minimum value, a central value, and a maximum value
- scroll-behavior
Specifies the scrolling behavior for a scrolling box.