commit | 67f0872c613adb937b9dd6cc358808fd04009c14 | [log] [tgz] |
---|---|---|
author | Joanmarie Diggs <jdiggs@igalia.com> | Wed Jun 22 20:54:55 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jun 22 20:54:55 2022 |
tree | 4275794490a33f212e6144b9ab49e49a4b1e25b7 | |
parent | da2ec58f64a4986e99d1799b711dade577a2a5f0 [diff] |
Don't fire load-complete AX notification on macOS for unfocused windows If VoiceOver is launched when Chrome is the active application, we fire a load-complete notification. In response, VoiceOver may update update focus and start reading the contents of windows which are not active (e.g. another Chrome window is active, or this is the only Chrome window, but it is minimized). This behavior can be unexpected and confusing. In order to prevent this from occurring, check that the current window is the focused window according to the app prior to firing an NSAccessibilityLoadCompleteNotification. This should hopefully also prevent subsequent page loads from a non-focused Chrome window from causing unexpected presentation by VoiceOver. AX-Relnotes: VoiceOver should no longer present content from non-focused Chrome windows upon launch. Bug: 1078482 Change-Id: If38f56d1b5464f08f27a25585d2f6c4de88b87dd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3695403 Commit-Queue: Joanmarie Diggs <jdiggs@igalia.com> Reviewed-by: Abigail Klein <abigailbklein@google.com> Reviewed-by: Aaron Leventhal <aleventhal@chromium.org> Cr-Commit-Position: refs/heads/main@{#1016863}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.