Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /accessibility/crashtests/aria-owns-owner-becomes-aria-hidden.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html class="test-wait">
<script>
document.addEventListener("DOMContentLoaded", () => {
requestAnimationFrame(() => {
requestAnimationFrame(() => {
document.querySelector('div').ariaHidden = true;
requestAnimationFrame(() => {
requestAnimationFrame(() => {
document.documentElement.className = '';
});
});
});
});
});
</script>
<main>
<div role="complementary">
<fieldset aria-owns="owned"></fieldset>
</div>
</main>
<footer id="owned">
<mark>
owned
</mark>
</footer>
</html>