- Electron version: 0.37.6
- Operating system: Windows 10

In VSCode, in order to support screen readers while editing text, we set the contents of a `<textarea>` to the contents of the line and lines surrounding the cursor and we mirror the editor selection in the `<textarea>` via `setSelectionRange`.

Chromium is not the fastest when it comes to setting large amounts of text :) (such as > 10,000 characters) and basically stalls all the time. Apparently, Electron already has some knowledge about when a screen reader is attached to the main process window (in C++ code). Is it possible to expose this as a getter + event when it first happens in the `electron` API.

We could then maintain this costly `<textarea>` sync only when really needed.

atom/browser/api/atom_api_app.cc
*prevent_default = Emit("open-file", file_path);
}
void App::OnOpenURL(const std::string& url) {
  Emit("open-url", url);
}
void App::OnActivate(bool has_visible_windows) {
  Emit("activate", has_visible_windows);
}
void App::OnWillFinishLaunching() {
  Emit("will-finish-launching");
}
void App::OnFinishLaunching() {
  Emit("ready");
}
#if defined(OS_MACOSX)
void App::OnContinueUserActivity(
    bool* prevent_default,
    const std::string& type,
    const base::DictionaryValue& user_info) {
  *prevent_default = Emit("continue-activity", type, user_info);
}
#endif
void App::OnLogin(LoginHandler* login_handler,