An attempt at override VO focus.
Requires the element to have a tabindex="-1" and then focusing.
To fully reinstante the original state prior to running force focus,
run resetForceFocus().
dom.forceFocus(myElement);
window.setTimeout(()=> {
dom.forceFocus(myElement2);
}, 2000)
// Some given time later, undo everything if needed.
dom.resetForceFocus();
An attempt at override VO focus. Requires the element to have a tabindex="-1" and then focusing. To fully reinstante the original state prior to running force focus, run resetForceFocus().
dom.forceFocus(myElement);
window.setTimeout(()=> {
dom.forceFocus(myElement2);
}, 2000)
// Some given time later, undo everything if needed. dom.resetForceFocus();