Skip to content

fix: restore accessibility window title on macOS - #21465

Merged
codebytere merged 1 commit into
6-1-xfrom
trop/6-1-x-bp-fix-restore-accessibility-window-title-on-macos-1576019002589
Dec 11, 2019
Merged

codebytere merged 1 commit into
6-1-xfrom
trop/6-1-x-bp-fix-restore-accessibility-window-title-on-macos-1576019002589

Conversation

@trop

@trop trop Bot commented Dec 10, 2019

Copy link
Copy Markdown
Contributor

Backport of #21462

See that PR for details.

Notes: Fixed accessibility window title on macOS

Electron's `AtomNSWindow` implements `accessibilityAttributeValue` to
provide various accessibility info to the OS, including window titles.

Chromium 75 changed to Apple's newer accessibility API for window titles
in the super class that `AtomNSWindow` inherits from. macOS still
supports both the old and new style APIs, but it will prefer the new
style if it is implemented.  This means the Electron window title is
being ignored because the newer API at the Chromium level has taken
precedence.

By implementing the newer accessibility API in `AtomNSWindow`, this
restores correct accessibility window titles in macOS Electron apps.

This is a regression has been present since Electron 6.0.0 (the first
release including the Chromium change above).
@electron-cation electron-cation Bot added the new-pr 🌱 PR opened recently label Dec 10, 2019
@trop trop Bot mentioned this pull request Dec 10, 2019
4 of 6 tasks
@trop trop Bot added 6-1-x backport This is a backport PR labels Dec 10, 2019
@electron-cation electron-cation Bot removed the new-pr 🌱 PR opened recently label Dec 10, 2019
@codebytere
codebytere merged commit 42b4433 into 6-1-x Dec 11, 2019
@release-clerk

release-clerk Bot commented Dec 11, 2019

Copy link
Copy Markdown

Release Notes Persisted

Fixed accessibility window title on macOS

@codebytere
codebytere deleted the trop/6-1-x-bp-fix-restore-accessibility-window-title-on-macos-1576019002589 branch December 11, 2019 02:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6-1-x backport This is a backport PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants