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-inside-map.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<!-- Test that aria-owns pointing into a map does not crash -->
<html class="test-wait">
<map >
<a href=''>
<del id='1' hidden></del>
<del id='2'></del>
</a>
</map>
<div></div>
<script>
document.addEventListener('DOMContentLoaded', () => {
requestAnimationFrame(() => {
requestAnimationFrame(() => {
document.querySelector('div').setAttribute('aria-owns','2 1');
document.documentElement.className = '';
});
});
});
</script>
</html>