fix: error if a11y support changed before ready (#16261)

This commit is contained in:
Shelley Vohr 2019-01-04 07:20:06 -08:00 committed by John Kleinschmidt
parent 2117524102
commit de0e4735de
3 changed files with 12 additions and 3 deletions

View file

@ -1098,9 +1098,11 @@ details.
* `enabled` Boolean - Enable or disable [accessibility tree](https://developers.google.com/web/fundamentals/accessibility/semantics-builtin/the-accessibility-tree) rendering
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
Manually enables Chrome's accessibility support, allowing to expose accessibility switch to users in application settings. See [Chromium's accessibility docs](https://www.chromium.org/developers/design-documents/accessibility) for more
details. Disabled by default.
This API must be called after the `ready` event is emitted.
**Note:** Rendering accessibility tree can significantly affect the performance of your app. It should not be enabled by default.
### `app.showAboutPanel` _macOS_ _Linux_