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

Issue 607803002: IAccessible2 state not defined for input type checkbox. (Closed)

Created:
6 years, 2 months ago by shreeramk
Modified:
6 years, 2 months ago
Reviewers:
dmazzoni, David Tseng
CC:
chromium-reviews, plundblad+watch_chromium.org, aboxhall+watch_chromium.org, jam, yuzo+watch_chromium.org, darin-cc_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, mkwst+moarreviews-renderer_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@323161exposeinputtypes
Project:
chromium
Visibility:
Public.

Description

IAccessible2 state not defined for input type checkbox. Input type checkbox should have IAccessiblie2 state as IA2_STATE_CHECKABLE. BUG=418013 Committed: https://crrev.com/ef044b5b099eb06d5fd0557dda25be846d23b272 Cr-Commit-Position: refs/heads/master@{#298287}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Updating expectations file #

Total comments: 7

Patch Set 4 : #

Total comments: 3

Patch Set 5 : #

Total comments: 2

Patch Set 6 : Adding accessibility test and expectations #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : Incorporating comments #

Patch Set 10 : updating expectations for mac #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -0 lines) Patch
M content/browser/accessibility/accessibility_tree_formatter_utils_win.cc View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_win.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/accessibility/dump_accessibility_tree_browsertest.cc View 1 2 3 4 5 6 7 8 2 chunks +8 lines, -0 lines 0 comments Download
A content/test/data/accessibility/aria-checkbox.html View 1 2 3 4 5 1 chunk +16 lines, -0 lines 0 comments Download
A content/test/data/accessibility/aria-checkbox-expected-android.txt View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
A content/test/data/accessibility/aria-checkbox-expected-mac.txt View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
A content/test/data/accessibility/aria-checkbox-expected-win.txt View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
A content/test/data/accessibility/input-checkbox.html View 1 2 3 4 5 6 7 8 1 chunk +14 lines, -0 lines 0 comments Download
A content/test/data/accessibility/input-checkbox-expected-android.txt View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -0 lines 0 comments Download
A content/test/data/accessibility/input-checkbox-expected-mac.txt View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -0 lines 0 comments Download
A content/test/data/accessibility/input-checkbox-expected-win.txt View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (3 generated)
shreeramk
@Dominic: Each MSAA / IAccessible roles is also a valid IAccessible2 role, the IA_ROLE_MAP macro ...
6 years, 2 months ago (2014-09-26 18:42:16 UTC) #2
dmazzoni
https://codereview.chromium.org/607803002/diff/40001/content/browser/accessibility/accessibility_tree_formatter_utils_win.cc File content/browser/accessibility/accessibility_tree_formatter_utils_win.cc (right): https://codereview.chromium.org/607803002/diff/40001/content/browser/accessibility/accessibility_tree_formatter_utils_win.cc#newcode200 content/browser/accessibility/accessibility_tree_formatter_utils_win.cc:200: IA2_STATE_MAP(IA2_STATE_CHECKABLE) On 2014/09/26 18:42:16, shreeram.k wrote: > IA2_STATE_CHECKABLE was ...
6 years, 2 months ago (2014-09-26 18:52:43 UTC) #3
shreeramk
6 years, 2 months ago (2014-09-26 19:14:00 UTC) #4
shreeramk
https://codereview.chromium.org/607803002/diff/40001/content/browser/accessibility/accessibility_tree_formatter_utils_win.cc File content/browser/accessibility/accessibility_tree_formatter_utils_win.cc (right): https://codereview.chromium.org/607803002/diff/40001/content/browser/accessibility/accessibility_tree_formatter_utils_win.cc#newcode200 content/browser/accessibility/accessibility_tree_formatter_utils_win.cc:200: IA2_STATE_MAP(IA2_STATE_CHECKABLE) On 2014/09/26 18:52:43, dmazzoni wrote: > On 2014/09/26 ...
6 years, 2 months ago (2014-09-26 19:14:43 UTC) #5
shreeramk
PTAL!
6 years, 2 months ago (2014-09-29 05:37:28 UTC) #6
dmazzoni
https://codereview.chromium.org/607803002/diff/40001/content/browser/accessibility/accessibility_tree_formatter_utils_win.cc File content/browser/accessibility/accessibility_tree_formatter_utils_win.cc (right): https://codereview.chromium.org/607803002/diff/40001/content/browser/accessibility/accessibility_tree_formatter_utils_win.cc#newcode200 content/browser/accessibility/accessibility_tree_formatter_utils_win.cc:200: IA2_STATE_MAP(IA2_STATE_CHECKABLE) On 2014/09/26 19:14:43, shreeram.k wrote: > On 2014/09/26 ...
6 years, 2 months ago (2014-09-29 05:44:07 UTC) #7
shreeramk
On 2014/09/29 05:44:07, dmazzoni wrote: > https://codereview.chromium.org/607803002/diff/40001/content/browser/accessibility/accessibility_tree_formatter_utils_win.cc > File content/browser/accessibility/accessibility_tree_formatter_utils_win.cc > (right): > > https://codereview.chromium.org/607803002/diff/40001/content/browser/accessibility/accessibility_tree_formatter_utils_win.cc#newcode200 ...
6 years, 2 months ago (2014-09-29 05:45:43 UTC) #8
dmazzoni
https://codereview.chromium.org/607803002/diff/60001/content/browser/accessibility/browser_accessibility_win.cc File content/browser/accessibility/browser_accessibility_win.cc (right): https://codereview.chromium.org/607803002/diff/60001/content/browser/accessibility/browser_accessibility_win.cc#newcode3430 content/browser/accessibility/browser_accessibility_win.cc:3430: ia_state_ |= STATE_SYSTEM_CHECKED; This seems wrong - you're setting ...
6 years, 2 months ago (2014-09-29 05:49:51 UTC) #9
shreeramk
I ll upload the changed in the next patchset https://codereview.chromium.org/607803002/diff/60001/content/browser/accessibility/browser_accessibility_win.cc File content/browser/accessibility/browser_accessibility_win.cc (right): https://codereview.chromium.org/607803002/diff/60001/content/browser/accessibility/browser_accessibility_win.cc#newcode3430 content/browser/accessibility/browser_accessibility_win.cc:3430: ...
6 years, 2 months ago (2014-09-29 05:58:32 UTC) #10
shreeramk
Would it be like this?? case ui::AX_ROLE_CHECK_BOX: ia_role_ = ROLE_SYSTEM_CHECKBUTTON; bool is_aria_checked_defined; bool is_mixed_check; if ...
6 years, 2 months ago (2014-09-29 06:02:23 UTC) #11
dmazzoni
> case ui::AX_ROLE_CHECK_BOX: > ia_role_ = ROLE_SYSTEM_CHECKBUTTON; > bool is_aria_checked_defined; > bool is_mixed_check; > if ...
6 years, 2 months ago (2014-09-29 06:17:18 UTC) #12
dmazzoni
6 years, 2 months ago (2014-09-29 06:17:26 UTC) #13
shreeramk
PTAL! Thanks :)
6 years, 2 months ago (2014-09-29 15:40:26 UTC) #14
dmazzoni
Looking much better! Two more small issues, thanks https://codereview.chromium.org/607803002/diff/80001/content/test/data/accessibility/aria-checkbox.html File content/test/data/accessibility/aria-checkbox.html (right): https://codereview.chromium.org/607803002/diff/80001/content/test/data/accessibility/aria-checkbox.html#newcode11 content/test/data/accessibility/aria-checkbox.html:11: <div ...
6 years, 2 months ago (2014-09-29 15:55:04 UTC) #15
dmazzoni
Looking much better! Two more small issues, thanks
6 years, 2 months ago (2014-09-29 15:55:05 UTC) #16
shreeramk
On 2014/09/29 15:55:05, dmazzoni wrote: > Looking much better! Two more small issues, thanks I ...
6 years, 2 months ago (2014-09-30 08:53:39 UTC) #18
dmazzoni
This ended up being trickier than it looked to either of us at first! I'm ...
6 years, 2 months ago (2014-09-30 15:25:55 UTC) #19
shreeramk
On 2014/09/30 15:25:55, dmazzoni wrote: > This ended up being trickier than it looked to ...
6 years, 2 months ago (2014-10-06 08:28:49 UTC) #20
shreeramk
Please review. Thanks!
6 years, 2 months ago (2014-10-06 15:55:36 UTC) #21
dmazzoni
lgtm
6 years, 2 months ago (2014-10-06 16:05:55 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/607803002/180001
6 years, 2 months ago (2014-10-06 16:07:01 UTC) #24
commit-bot: I haz the power
Committed patchset #10 (id:180001) as 9feadabdf96f629e42c4045717f2ef3ea4445733
6 years, 2 months ago (2014-10-06 18:51:23 UTC) #25
commit-bot: I haz the power
6 years, 2 months ago (2014-10-06 19:07:15 UTC) #26
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/ef044b5b099eb06d5fd0557dda25be846d23b272
Cr-Commit-Position: refs/heads/master@{#298287}

Powered by Google App Engine
This is Rietveld 408576698