Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<iframe></iframe>
<script>
let frame = document.querySelector("iframe");
window.xyz = frame.contentWindow.accessibilityController.focusedElement;
frame.remove();
window.xyz.activeDescendant;
</script>