- 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/browser.h
std::string GetExecutableFileProductName() const;
  
  void NotifyAndShutdown();
  
  bool HandleBeforeQuit();
  bool is_quiting_;
 private:
  
  void OnWindowCloseCancelled(NativeWindow* window) override;
  void OnWindowAllClosed() override;
  
  base::ObserverList<BrowserObserver> observers_;
  
  bool is_exiting_;
  
  bool is_ready_;
  
  bool is_shutdown_;
  std::string version_override_;
  std::string name_override_;
  int badge_count_ = 0;
#if defined(OS_WIN)
  base::string16 app_user_model_id_;
#endif
  DISALLOW_COPY_AND_ASSIGN(Browser);
};
}  
#endif