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

Issue 2016243002: Mac a11y: Add RoleDescription and Value attributes to accessibility information. (Closed)

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

Description

Mac a11y: Add RoleDescription, Value, Subrole accessibility attributes & tests. Populate NSAccessibilityRoleDescriptionAttribute, NSAccessibilityValueAttribute, and NSAccessibilitySubroleAttribute fields for views::View elements on Mac, with tests. Also add unit tests for the attributes currently supported, including a test specifically for textfields. BUG=610591 Committed: https://crrev.com/244fc7d3829a5f62b28c5655badb2df290676e2d Cr-Commit-Position: refs/heads/master@{#400859}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add tests for Mac accessibility attributes. #

Patch Set 3 : TODO for comparing against Cocoa. #

Total comments: 47

Patch Set 4 : Address review comments. #

Total comments: 28

Patch Set 5 : Rebase. #

Total comments: 12

Patch Set 6 : Combine textfield tests into one, other review comments. #

Patch Set 7 : Rebase again. #

Total comments: 20

Patch Set 8 : Address review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+338 lines, -44 lines) Patch
M content/browser/accessibility/browser_accessibility_cocoa.mm View 1 2 3 4 5 1 chunk +3 lines, -3 lines 0 comments Download
M ui/accessibility/ax_view_state.h View 1 2 3 4 5 6 7 1 chunk +5 lines, -2 lines 0 comments Download
M ui/accessibility/ax_view_state.cc View 1 2 3 4 5 6 7 1 chunk +6 lines, -1 line 0 comments Download
M ui/accessibility/platform/ax_platform_node_mac.mm View 1 2 3 4 5 6 7 5 chunks +104 lines, -38 lines 0 comments Download
M ui/views/views.gyp View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
A ui/views/widget/native_widget_mac_accessibility_unittest.mm View 1 2 3 4 5 6 7 1 chunk +219 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 23 (9 generated)
Patti Lor
Hey Trent, PTAL! This is for http://crbug.com/610591, but I have split up the fix into ...
4 years, 6 months ago (2016-05-27 06:53:03 UTC) #2
tapted
Can you add a test? There's some stuff in NativeWidgetMacTest.AccessibilityIntegration to build on -- it ...
4 years, 6 months ago (2016-05-30 11:30:21 UTC) #3
Patti Lor
Hi Trent, have added tests for all the attributes now. Two of the tests fail ...
4 years, 6 months ago (2016-06-03 04:51:03 UTC) #5
tapted
https://codereview.chromium.org/2016243002/diff/40001/ui/accessibility/platform/ax_platform_node_mac.mm File ui/accessibility/platform/ax_platform_node_mac.mm (right): https://codereview.chromium.org/2016243002/diff/40001/ui/accessibility/platform/ax_platform_node_mac.mm#newcode271 ui/accessibility/platform/ax_platform_node_mac.mm:271: NSAccessibilityValueAttribute, So I poked around a bit - I ...
4 years, 6 months ago (2016-06-06 04:09:52 UTC) #6
Patti Lor
Thanks, PTAL! https://codereview.chromium.org/2016243002/diff/40001/ui/accessibility/platform/ax_platform_node_mac.mm File ui/accessibility/platform/ax_platform_node_mac.mm (right): https://codereview.chromium.org/2016243002/diff/40001/ui/accessibility/platform/ax_platform_node_mac.mm#newcode271 ui/accessibility/platform/ax_platform_node_mac.mm:271: NSAccessibilityValueAttribute, On 2016/06/06 04:09:51, tapted wrote: > ...
4 years, 6 months ago (2016-06-10 01:36:11 UTC) #9
tapted
https://codereview.chromium.org/2016243002/diff/40001/ui/accessibility/platform/ax_platform_node_mac.mm File ui/accessibility/platform/ax_platform_node_mac.mm (right): https://codereview.chromium.org/2016243002/diff/40001/ui/accessibility/platform/ax_platform_node_mac.mm#newcode324 ui/accessibility/platform/ax_platform_node_mac.mm:324: return [self getStringAttribute:ui::AX_ATTR_DESCRIPTION]; On 2016/06/10 01:36:09, Patti Lor wrote: ...
4 years, 6 months ago (2016-06-10 03:17:18 UTC) #10
Patti Lor
Thanks Trent, PTAL! https://codereview.chromium.org/2016243002/diff/40001/ui/accessibility/platform/ax_platform_node_mac.mm File ui/accessibility/platform/ax_platform_node_mac.mm (right): https://codereview.chromium.org/2016243002/diff/40001/ui/accessibility/platform/ax_platform_node_mac.mm#newcode324 ui/accessibility/platform/ax_platform_node_mac.mm:324: return [self getStringAttribute:ui::AX_ATTR_DESCRIPTION]; On 2016/06/10 03:17:17, ...
4 years, 6 months ago (2016-06-16 07:05:22 UTC) #11
tapted
lgtm with some nits, and some stuff moved to a follow-up. https://codereview.chromium.org/2016243002/diff/60001/ui/views/widget/native_widget_mac_accessibility_unittest.mm File ui/views/widget/native_widget_mac_accessibility_unittest.mm (right): ...
4 years, 6 months ago (2016-06-17 03:32:49 UTC) #12
Patti Lor
sky@: PTAL for OWNERS review for everything under ui/views/. dmazzoni@: PTAL for OWNERS review for ...
4 years, 6 months ago (2016-06-17 05:57:36 UTC) #15
sky
LGTM
4 years, 6 months ago (2016-06-17 15:05:01 UTC) #16
dmazzoni
lgtm
4 years, 6 months ago (2016-06-20 19:39:30 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2016243002/160001
4 years, 6 months ago (2016-06-21 00:06:32 UTC) #20
commit-bot: I haz the power
Committed patchset #8 (id:160001)
4 years, 6 months ago (2016-06-21 01:03:50 UTC) #21
commit-bot: I haz the power
4 years, 6 months ago (2016-06-21 01:09:45 UTC) #23
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/244fc7d3829a5f62b28c5655badb2df290676e2d
Cr-Commit-Position: refs/heads/master@{#400859}

Powered by Google App Engine
This is Rietveld 408576698