Why are my live regions not working?

from blog Simon Willison's Weblog, | ↗ original
Why are my live regions not working? Useful article to help understand ARIA live regions. Short version: you can add a live region to your page like this: Then any time you use JavaScript to modify the text content in that element it will be announced straight away by any screen readers - that's the "assertive" part. Using "polite" instead will...