Bug 1190882: If the focused accessible is removed from the tree, fire a11y...
Bug 1190882: If the focused accessible is removed from the tree, fire a11y focus on the document. r=eeejay If the DOM focus is removed before something else is focused, the document gets DOM focus, but no blur event is fired (bug 559561). This means that no a11y focus event is fired, so clients aren't notified. This is particularly problematic for screen readers when dismissing some ARIA dialogs, as the screen reader doesn't know that focus has returned to the top level document. Differential Revision: https://phabricator.services.mozilla.com/D31024 --HG-- extra : moz-landing-system : lando