1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
content / test / data / accessibility / aria / aria-hidden-changed.html [blame]
<!--
@WAIT-FOR:done
-->
<h4 id="stay-hidden" aria-hidden="true">Stay hidden</h4>
<h4 id="to-hidden"><div role=group><mark>xyz</mark></div>To hidden</h4>
<h4 id="from-hidden"><div role=group><mark>xyz</mark></div>From hidden</h4>
<script>
document.addEventListener('DOMContentLoaded', () => {
setTimeout(() => {
document.getElementById('to-hidden').setAttribute('aria-hidden', 'true');
document.getElementById('from-hidden').setAttribute('aria-hidden', 'false');
document.title = 'done';
}, 100);
});
</script>