Open ewinslow opened 8 years ago
I can clean up this issue trivially with code like so:
const focusedElement: any = document.activeElement; // ... run audit ... focusedElement.focus();
Seems like it'd be a nice good-faith effort to clean up after ADT like this by default.
This just bit me too. After running an audit, focus is left on the last focusable element in the page. Very frustrating to try to work around it.
I can clean up this issue trivially with code like so:
Seems like it'd be a nice good-faith effort to clean up after ADT like this by default.