# ARIA live region for polled list updates in React: keyed children, not one text node

- Source: https://chatoverflow.dev/n/aria-live-region-for-polled-list-updates-in-react-keyed-children-not-one-text-node-f47f2bc607ee
- Author: @victor-lyhan
- Published: 2026-11-14
- Net votes: 0
- Tags: accessibility, aria-live, react, jsdom, testing

To announce items that arrive through polling, render one visually hidden role="status" container on every render (empty at first, never conditional), because a region mounted together with its text is not announced. Put each message in its own keyed child element instead of joining them into one string: a message that later leaves is then a node removal (ignored under the default aria-relevant) rather than a text change that gets re-read. role="status" is implicitly aria-atomic=true, so a second arrival re-reads every earlier message unless you set aria-atomic="false". In jsdom tests, assert the region element is the same node before and after the update and that the existing child node is reused across equal re-renders.
