1
2
3
4
5
6
7
8
9
10
11
12
13
content / test / data / accessibility / event / live-region-change-on-freshly-unignored-node.html [blame]
<!DOCTYPE html>
<html>
<body>
<div id="live" aria-live="polite" style="display: none;">Before</div>
<script>
function go() {
let live = document.getElementById('live');
live.setAttribute("style", "");
live.firstChild.data = 'After';
}
</script>
</body>
</html>