Aria-atomic for live regions (aria-atomic)

Dynamic content include a valid aria-atomic attribute if needed.


Aria-atomic on an unrelated element:

In this example aria-atomic="true" is set on the button control, not on the live region that announces cart updates.


Items in cart: 0

Note: Possible to automatically test/detect. Flag any element with aria-atomic that is neither a live region nor inside one (no ancestor with a valid aria-live), since the attribute will be ignored.

axe detected: none  |  QualWeb detected: none