All native Mac app UIs are accessible by default, including web pages in Safari.
When it comes to Electron apps, the accessibility is disabled and it's not possible to turn it on without:
- turning on undocumented and buggy parameter
AXEnhancedUserInterface (it breaks window positioning and animations)
- turning on VoiceOver itself
I suggest to remove [self voiceOverEnabled] check and add an alternative attribute for enabling accessibility or another way to set it on.
All native Mac app UIs are accessible by default, including web pages in Safari.
When it comes to Electron apps, the accessibility is disabled and it's not possible to turn it on without:
AXEnhancedUserInterface(it breaks window positioning and animations)I suggest to remove
[self voiceOverEnabled]check and add an alternative attribute for enabling accessibility or another way to set it on.