commit | 34d5b59a67da7b0ea1a3eb90835467eb63e7262e | [log] [tgz] |
---|---|---|
author | Jayson Adams <shrike@chromium.org> | Tue Jan 23 18:59:25 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jan 23 18:59:25 2024 |
tree | cb989ace0ff673e05be62a995beed1c9d0aa09f8 | |
parent | f24d1b8dd62513b60dead55c115f6b1620af2747 [diff] |
[Mac A11y Sonoma] Refine a11y detection and enablement on macOS Sonoma The behavior of signals we rely on for enabling accessibility has changed in macOS Sonoma, causing Chrome to activate screen reader support when it's not necessary (which consumes memory). This cl refines our accessibility support detection heuristics. Specifically: * Uses KVO to watch specifically for VoiceOver state changes * Wraps updates to AXEnhancedUserInterface in in a timer, to filter out spurious updates * When we receive an accessibilityRole request, and VoiceOver is not active, turn on ui::kAXModeBasic (kNativeAPIs + kWebContents) Bug: 1509023 Test: out/Debug/browser_tests --gtest_filter=ChromeBrowserAppMac* Low-Coverage-Reason: OTHER - coverage check is wrong Change-Id: I4a0742630d127431179bd02be7e1b14751f7d25b Include-Ci-Only-Tests: true Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5112830 Reviewed-by: Avi Drissman <avi@chromium.org> Commit-Queue: Jayson Adams <shrike@chromium.org> Cr-Commit-Position: refs/heads/main@{#1250961}
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.