Black Lives Matter! ✊🏾

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

  1. Why authors should avoid aria-relevant

    posted on by Rob Dodson

    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…

  2. Using the aria-relevant attribute

    posted on by MDN

    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>