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

Issue 2934993002: MacViews a11y: Allow VoiceOver to read out views::Label word-by-word. (Closed)

Created:
3 years, 6 months ago by tapted
Modified:
3 years, 6 months ago
Reviewers:
dmazzoni
CC:
chromium-reviews, aboxhall+watch_chromium.org, tfarina, nektar+watch_chromium.org, yuzo+watch_chromium.org, je_julie, dougt+watch_chromium.org, aleventhal+watch_chromium.org, dtseng+watch_chromium.org, mac-reviews_chromium.org, dmazzoni+watch_chromium.org, chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

MacViews a11y: Allow VoiceOver to read out views::Label word-by-word. This requires the label to respond to AXValue, not just AXTitle. views::Label currently reports nil for its AXValue. Cocoa labels are just readonly NSTextFields, so they have AXValue. Fix by sharing more responders used for text fields currently. This brought in to question the behaviour for secure text fields, which appears to have changed in macOS. Get the shared code up to speed with current behavior. BUG=657945 Review-Url: https://codereview.chromium.org/2934993002 Cr-Commit-Position: refs/heads/master@{#479582} Committed: https://chromium.googlesource.com/chromium/src/+/a523016fb1f4607afe920e467b73d2ff6473d5f1

Patch Set 1 #

Patch Set 2 : Fix RTL #

Patch Set 3 : Neater #

Total comments: 4

Patch Set 4 : Respond to comments #

Patch Set 5 : Fix TextfieldTest.AccessiblePasswordTest #

Unified diffs Side-by-side diffs Delta from patch set Stats (+142 lines, -49 lines) Patch
M ui/accessibility/platform/ax_platform_node_mac.mm View 1 2 3 8 chunks +32 lines, -39 lines 0 comments Download
M ui/views/controls/textfield/textfield.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M ui/views/controls/textfield/textfield_unittest.cc View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M ui/views/widget/native_widget_mac_accessibility_unittest.mm View 1 2 3 6 chunks +103 lines, -9 lines 0 comments Download

Messages

Total messages: 34 (25 generated)
tapted
Hi Dominic, please take a look
3 years, 6 months ago (2017-06-13 08:05:13 UTC) #14
dmazzoni
https://codereview.chromium.org/2934993002/diff/40001/ui/accessibility/platform/ax_platform_node_mac.mm File ui/accessibility/platform/ax_platform_node_mac.mm (right): https://codereview.chromium.org/2934993002/diff/40001/ui/accessibility/platform/ax_platform_node_mac.mm#newcode293 ui/accessibility/platform/ax_platform_node_mac.mm:293: if (node_->GetData().HasState(ui::AX_STATE_PROTECTED)) I thought we were supposed to expose ...
3 years, 6 months ago (2017-06-13 20:35:55 UTC) #15
chromium-reviews
On 6/13/2017 4:35 PM, dmazzoni@chromium.org wrote: > > https://codereview.chromium.org/2934993002/diff/40001/ui/accessibility/platform/ax_platform_node_mac.mm > File ui/accessibility/platform/ax_platform_node_mac.mm (right): > > ...
3 years, 6 months ago (2017-06-13 21:25:51 UTC) #16
tapted
PTAL On 2017/06/13 21:25:51, chromium-reviews wrote: > Safari exposes the value that appears in the ...
3 years, 6 months ago (2017-06-14 07:21:59 UTC) #20
dmazzoni
On 2017/06/14 07:21:59, tapted wrote: > > I'd have getStringValue return AX_ATTR_VALUE, and then > ...
3 years, 6 months ago (2017-06-14 16:35:52 UTC) #27
dmazzoni
lgtm
3 years, 6 months ago (2017-06-14 16:37:33 UTC) #28
tapted
On 2017/06/14 16:35:52, dmazzoni wrote: > On 2017/06/14 07:21:59, tapted wrote: > > > I'd ...
3 years, 6 months ago (2017-06-15 01:58:09 UTC) #29
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/2934993002/80001
3 years, 6 months ago (2017-06-15 01:58:33 UTC) #31
commit-bot: I haz the power
3 years, 6 months ago (2017-06-15 02:03:36 UTC) #34
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/a523016fb1f4607afe920e467b73...

Powered by Google App Engine
This is Rietveld 408576698