Skip to content

accessibilitySupportEnabled (screen reader detection) is broken since v37 (worked in v36) #48039

@danielweck

Description

@danielweck

Preflight Checklist

Electron Version

37.2.6

What operating system(s) are you using?

macOS

Operating System Version

15.6 (24G84)

What arch are you using?

arm64 (including Apple Silicon)

Last Known Working Electron version

36.7.4

Does the issue also appear in Chromium / Google Chrome?

No

Expected Behavior

  • The app.accessibilitySupportEnabled boolean is true when a screen reader is active (used to work fine with VoiceOver on MacOS with Electron v36).
  • The app.on("accessibility-support-changed") event handler reports true or false depending on whether a screen reader is active

Actual Behavior

  • The app.accessibilitySupportEnabled boolean is false even when a screen reader is active (tested with VoiceOver on MacOS).
  • The app.on("accessibility-support-changed") event handler always reports false too

Testcase Gist URL

https://gist.github.com/danielweck/09d4acced320102382d9803634efac47

(look at the main process console for debugging information)

Tip: on MacOS, VoiceOver can be turned on/off using the CMD+F5 keyboard shortcut (use this when the Fiddle is running)

Additional Information

Possibly related?

Metadata

Metadata

Assignees

Labels

Type

Projects

Status

🛠️ Fixed for Next Release

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions