1
2
3
4
5
6
7
8
9
10
11
12
content / test / data / accessibility / event / live-region-remove.html [blame]
<!DOCTYPE html>
<html>
<body>
<div id="live" aria-live="polite"><p id="p">Before</p></div>
<script>
function go() {
var p = document.getElementById('p');
p.parentElement.removeChild(p);
}
</script>
</body>
</html>