1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13

content / test / data / accessibility / event / live-region-add.html [blame]

<!DOCTYPE html>
<html>
<body>
<div id="live" aria-live="polite">Before</div>
<script>
  function go() {
    var add = document.createElement('p');
    add.innerText = 'After';
    document.getElementById('live').appendChild(add);
  }
</script>
</body>
</html>