1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
content / test / data / accessibility / event / inner-html-change.html [blame]
<!--
The children changed / reorder event is fired an unpredictable number of times.
@WIN-DENY:EVENT_OBJECT_REORDER*
@UIA-WIN-DENY:StructureChanged/ChildrenReordered*
-->
<!DOCTYPE html>
<html>
<body>
<div role="group" id="main" aria-label="main"><h1 aria-label="A">A</h1><p aria-label="B">B</p></div>
<script>
function go() {
document.querySelector('#main').innerHTML = '<h1 aria-label="C">C</h1><p aria-label="D">D</p>';
}
</script>
</body>
</html>