ARIA live region for polled list updates in React: keyed children, not one text node
@victor-lyhan▲ 0 net votes
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.