Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Issue 2210763002: MacViews a11y: Sync VoiceOver cursor with keyboard focus. (Closed)

Created:
4 years, 4 months ago by Patti Lor
Modified:
4 years, 2 months ago
CC:
aboxhall+watch_chromium.org, chrome-apps-syd-reviews_chromium.org, chromium-reviews, darin-cc_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, jam, je_julie, nektar+watch_chromium.org, yuzo+watch_chromium.org, Elly Fong-Jones
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MacViews a11y: Sync VoiceOver cursor with keyboard focus. Move the VoiceOver cursor when changing the keyboard focus if "VoiceOver cursor follows keyboard focus" is turned on in VoiceOver Utility (System Preferences > Accessibility > VoiceOver > Open VoiceOver Utility) with MacViews. BUG=610585, 650118 TEST=With the #mac-views-native-dialogs flag turned on via chrome:flags, turn on VoiceOver with Cmd+F5. Click the bookmark star on the right of the omnibox and press tab to change focus inside it. The VoiceOver cursor should follow keyboard focus. Committed: https://crrev.com/f8686b58fdf56513efdf5ed2826018560d26bbe2 Cr-Commit-Position: refs/heads/master@{#423083}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Add accessibilityFocusedUIElement to BrowserCrApplication. #

Patch Set 3 : Move accessibilityFocusedUIElement from BrowserCrApplication to BridgedContentView. #

Total comments: 22

Patch Set 4 : Review comments, delete accessibilityShouldUseUniqueId. #

Total comments: 9

Patch Set 5 : Delete view.* changes, other review comments. #

Total comments: 6

Patch Set 6 : Nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -13 lines) Patch
M content/browser/accessibility/browser_accessibility_cocoa.mm View 1 2 3 4 5 3 chunks +8 lines, -8 lines 0 comments Download
M ui/accessibility/platform/ax_platform_node_mac.mm View 1 2 3 4 5 chunks +17 lines, -5 lines 0 comments Download
M ui/views/cocoa/bridged_content_view.mm View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 59 (39 generated)
Patti Lor
Hi dtseng@, sending this to you to have a look because of https://codereview.chromium.org/7461104, which looks ...
4 years, 4 months ago (2016-08-04 02:06:26 UTC) #3
dmazzoni
I think I have an idea of why it's not working. VoiceOver doesn't really "trust" ...
4 years, 4 months ago (2016-08-04 02:54:28 UTC) #5
David Tseng
On 2016/08/04 02:06:26, Patti Lor wrote: > Hi dtseng@, sending this to you to have ...
4 years, 4 months ago (2016-08-04 02:56:12 UTC) #6
Patti Lor
Thanks dmazzoni@ & dtseng@! Your suggestions worked. It unfortunately breaks the navigation for BrowserAccessibilityCocoa a ...
4 years, 4 months ago (2016-08-09 08:08:28 UTC) #17
chromium-reviews
> > IMHO Usage of tab is low among voiceover users.Did you also test with ...
4 years, 4 months ago (2016-08-09 16:25:44 UTC) #18
David Tseng
Though usage of tab is lower than on other platforms, it's still very important to ...
4 years, 4 months ago (2016-08-09 17:11:34 UTC) #19
dmazzoni
On 2016/08/09 at 08:08:28, patricialor wrote: > Thanks dmazzoni@ & dtseng@! Your suggestions worked. It ...
4 years, 4 months ago (2016-08-09 23:02:00 UTC) #20
Patti Lor
Hi all, thanks for all your help! So I've decided just to try and get ...
4 years, 2 months ago (2016-09-26 02:08:47 UTC) #31
dmazzoni
lgtm Thanks for the thorough investigation! There are other cases where VoiceOver's visual highlight isn't ...
4 years, 2 months ago (2016-09-26 04:34:35 UTC) #32
tapted
mostly nits - we'll have to check with an OWNER about the views.h change. I ...
4 years, 2 months ago (2016-09-26 05:19:18 UTC) #33
nektarios
CCing ellyjones@ who works on Views accessibility for the Mac.
4 years, 2 months ago (2016-09-26 14:51:15 UTC) #34
Patti Lor
Thanks for the reviews, PTAL! https://codereview.chromium.org/2210763002/diff/100001/base/mac/sdk_forward_declarations.h File base/mac/sdk_forward_declarations.h (right): https://codereview.chromium.org/2210763002/diff/100001/base/mac/sdk_forward_declarations.h#newcode240 base/mac/sdk_forward_declarations.h:240: void NSAccessibilityUnregisterUniqueIdForUIElement(id element); On ...
4 years, 2 months ago (2016-09-28 00:29:14 UTC) #39
tapted
https://codereview.chromium.org/2210763002/diff/120001/content/browser/accessibility/browser_accessibility_cocoa.mm File content/browser/accessibility/browser_accessibility_cocoa.mm (right): https://codereview.chromium.org/2210763002/diff/120001/content/browser/accessibility/browser_accessibility_cocoa.mm#newcode15 content/browser/accessibility/browser_accessibility_cocoa.mm:15: #import "base/mac/sdk_forward_declarations.h" nit: remove? https://codereview.chromium.org/2210763002/diff/120001/content/browser/accessibility/browser_accessibility_cocoa.mm#newcode2884 content/browser/accessibility/browser_accessibility_cocoa.mm:2884: // things more ...
4 years, 2 months ago (2016-09-28 01:03:20 UTC) #40
dmazzoni
https://codereview.chromium.org/2210763002/diff/100001/ui/views/view.h File ui/views/view.h (right): https://codereview.chromium.org/2210763002/diff/100001/ui/views/view.h#newcode950 ui/views/view.h:950: NativeViewAccessibility* GetNativeViewAccessibility(); On 2016/09/28 00:29:14, Patti Lor wrote: > ...
4 years, 2 months ago (2016-09-29 16:06:16 UTC) #41
Patti Lor
PTAL, thanks. https://codereview.chromium.org/2210763002/diff/100001/ui/views/view.h File ui/views/view.h (right): https://codereview.chromium.org/2210763002/diff/100001/ui/views/view.h#newcode950 ui/views/view.h:950: NativeViewAccessibility* GetNativeViewAccessibility(); On 2016/09/29 16:06:15, dmazzoni wrote: ...
4 years, 2 months ago (2016-10-04 05:45:14 UTC) #46
tapted
lgtm % nits Also, since this fixes http://crbug.com/610585, we can form the TEST= line in ...
4 years, 2 months ago (2016-10-04 08:17:39 UTC) #47
Patti Lor
https://codereview.chromium.org/2210763002/diff/140001/content/browser/accessibility/browser_accessibility_cocoa.mm File content/browser/accessibility/browser_accessibility_cocoa.mm (right): https://codereview.chromium.org/2210763002/diff/140001/content/browser/accessibility/browser_accessibility_cocoa.mm#newcode2882 content/browser/accessibility/browser_accessibility_cocoa.mm:2882: // destroyed (see - detach). This allows VoiceOver to ...
4 years, 2 months ago (2016-10-05 05:47:23 UTC) #53
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2210763002/160001
4 years, 2 months ago (2016-10-05 05:47:52 UTC) #56
commit-bot: I haz the power
Committed patchset #6 (id:160001)
4 years, 2 months ago (2016-10-05 05:53:15 UTC) #57
commit-bot: I haz the power
4 years, 2 months ago (2016-10-05 05:55:41 UTC) #59
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/f8686b58fdf56513efdf5ed2826018560d26bbe2
Cr-Commit-Position: refs/heads/master@{#423083}

Powered by Google App Engine
This is Rietveld 408576698