1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
content / test / data / accessibility / aria / aria-labelledby-updates.html [blame]
<!--
@WAIT-FOR:oranges
@BLINK-DENY:nameFrom*
-->
<!DOCTYPE html>
<html>
<body>
<div role="main" aria-labelledby="title">
</div>
<p id="title" aria-hidden="true"><span><span>apples</span></span></p>
</div>
<script>
setTimeout(() => {
const label = document.getElementById('title');
label.firstElementChild.firstElementChild.innerText = 'oranges';
}, 100);
</script>
</body>
</html>