What fresh hell is THIS now? - Patrick Lauke
[elliottregan] I’ve got a question around some irregularities when removing the activeElement from the DOM.
I’ve been testing it using this little test area: https://allyjs.io/tutorials/mutating-active-element.html#running-tests, but I’m not seeing the same results. The focus will be moved to the next focusable element. I even forked that test to more closely mirror our scenario (removing the several focusable elements), and I’m seeing the expected behavior.
document.addEventListener('keydown', (event) => { if (event.which === 9) { console.log(document.activeElement); } });