Add accessibility setter to the app

This commit is contained in:
Ivan Mir 2017-08-24 11:22:28 -03:00
parent 9605e6cb40
commit 6717f0d2bb
4 changed files with 38 additions and 6 deletions

View file

@ -890,6 +890,15 @@ technologies, such as screen readers, has been detected. See
https://www.chromium.org/developers/design-documents/accessibility for more
details.
### `app.setAccessibilitySupportEnabled(value)` _macOS_ _Windows_
* `value` Boolean - A value for switching the accessibility support
Manually enables Chrome's accessibility support, allowing to expose accessibility switch to users in application settings. https://www.chromium.org/developers/design-documents/accessibility for more
details.
**Note:** Rendering accessibility tree can significantly affect the performance of your app. It should not be enabled by default.
### `app.setAboutPanelOptions(options)` _macOS_
* `options` Object