mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
Add accessibility setter to the app
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user