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

Issue 1628283002: posinset and setsize for input type, radio, exposed in AX tree (Closed)

Created:
4 years, 11 months ago by je_julie(Not used)
Modified:
4 years, 9 months ago
Reviewers:
tkent, keishi, dmazzoni
CC:
aboxhall, aboxhall+watch_chromium.org, blink-reviews, blink-reviews-html_chromium.org, chromium-reviews, darin-cc_chromium.org, dglazkov+blink, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, jam, je_julie, nektar+watch_chromium.org, nektarios, plundblad+watch_chromium.org, yuzo+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

posinset and setsize for input type, radio, exposed in AX tree posinset and setsize for radio input should be index and size of group and exposed as object attributes. This patch introduces AXRadioInput class to handle input element with radio type. BUG=557041 Committed: https://crrev.com/c52244a6cfc56abce6411a2d82b31eaa06167ec3 Cr-Commit-Position: refs/heads/master@{#379445}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Rebase and Update code #

Total comments: 6

Patch Set 3 : addressed review comments #

Total comments: 6

Patch Set 4 : added AXRadioInput #

Total comments: 4

Patch Set 5 : Moved position handling to AXRadioInput #

Total comments: 5

Patch Set 6 : fixed typo #

Total comments: 16

Patch Set 7 : removed isRadiobutton() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+411 lines, -36 lines) Patch
M content/test/data/accessibility/aria/aria-posinset.html View 1 2 3 4 5 6 1 chunk +39 lines, -8 lines 0 comments Download
M content/test/data/accessibility/aria/aria-posinset-expected-android.txt View 1 2 3 4 5 6 1 chunk +31 lines, -7 lines 0 comments Download
M content/test/data/accessibility/aria/aria-posinset-expected-mac.txt View 1 2 3 4 5 6 1 chunk +36 lines, -9 lines 0 comments Download
M content/test/data/accessibility/aria/aria-posinset-expected-win.txt View 1 2 3 4 5 6 1 chunk +36 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/dom/AXObjectCache.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/NodeTraversal.h View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLInputElement.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLInputElement.cpp View 1 2 3 4 5 6 1 chunk +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/forms/RadioButtonGroupScope.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/forms/RadioButtonGroupScope.cpp View 1 2 3 4 5 6 4 chunks +24 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXObject.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXObject.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp View 1 2 3 4 5 6 4 chunks +23 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/accessibility/AXRadioInput.h View 1 2 3 4 5 6 1 chunk +47 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/accessibility/AXRadioInput.cpp View 1 2 3 4 5 6 1 chunk +156 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/modules.gypi View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 49 (16 generated)
je_julie(Not used)
Dominic and keishi, This CL adds new APIs at RadioGroup in order to expose index ...
4 years, 11 months ago (2016-01-25 15:12:44 UTC) #2
dmazzoni
This looks great, but could you include some test cases that use aria-posinset and aria-setsize ...
4 years, 11 months ago (2016-01-25 18:21:09 UTC) #3
keishi
https://codereview.chromium.org/1628283002/diff/1/third_party/WebKit/Source/core/html/forms/RadioButtonGroupScope.cpp File third_party/WebKit/Source/core/html/forms/RadioButtonGroupScope.cpp (right): https://codereview.chromium.org/1628283002/diff/1/third_party/WebKit/Source/core/html/forms/RadioButtonGroupScope.cpp#newcode41 third_party/WebKit/Source/core/html/forms/RadioButtonGroupScope.cpp:41: unsigned posInMembers(HTMLInputElement*) const; nit: Blink style avoid abbreviations so ...
4 years, 11 months ago (2016-01-26 01:32:24 UTC) #4
je_julie(Not used)
Dominic and keishi, I updated TC and rebased code. As Radio Group doesn't have information ...
4 years, 10 months ago (2016-02-02 00:36:17 UTC) #7
dmazzoni
lgtm
4 years, 10 months ago (2016-02-03 16:41:44 UTC) #8
je_julie(Not used)
On 2016/02/03 16:41:44, dmazzoni wrote: > lgtm keishi, could you take a look?
4 years, 10 months ago (2016-02-05 00:38:18 UTC) #9
keishi
https://codereview.chromium.org/1628283002/diff/40001/third_party/WebKit/Source/core/html/forms/RadioButtonGroupScope.cpp File third_party/WebKit/Source/core/html/forms/RadioButtonGroupScope.cpp (right): https://codereview.chromium.org/1628283002/diff/40001/third_party/WebKit/Source/core/html/forms/RadioButtonGroupScope.cpp#newcode52 third_party/WebKit/Source/core/html/forms/RadioButtonGroupScope.cpp:52: bool isNext(HTMLInputElement* list, HTMLInputElement* current) const; nit: Could you ...
4 years, 10 months ago (2016-02-05 03:05:26 UTC) #10
je_julie(Not used)
keishi, Thanks for your comment, I checked RTL case and additional layout-ing case. I considered ...
4 years, 10 months ago (2016-02-13 03:19:00 UTC) #14
je_julie(Not used)
keishi, could you take another look?
4 years, 10 months ago (2016-02-16 00:45:09 UTC) #15
keishi
Sorry, I'm not familiar with aria, but does posinset really need to return the index ...
4 years, 10 months ago (2016-02-16 02:22:47 UTC) #16
je_julie(Not used)
Hi keishi, Thanks for your comment. I was still hesitating between 2 ways, adding AXRadiobutton ...
4 years, 10 months ago (2016-02-16 05:19:03 UTC) #17
keishi
On 2016/02/16 05:19:03, je_julie wrote: > Hi keishi, > > Thanks for your comment. > ...
4 years, 10 months ago (2016-02-16 05:45:33 UTC) #18
je_julie(Not used)
On 2016/02/16 05:45:33, keishi wrote: > On 2016/02/16 05:19:03, je_julie wrote: > > => https://www.w3.org/TR/wai-aria-1.1/#aria-posinset ...
4 years, 10 months ago (2016-02-17 02:14:34 UTC) #19
keishi
On 2016/02/17 02:14:34, je_julie wrote: > On 2016/02/16 05:45:33, keishi wrote: > > On 2016/02/16 ...
4 years, 10 months ago (2016-02-17 02:25:10 UTC) #20
je_julie(Not used)
On 2016/02/17 02:25:10, keishi wrote: > On 2016/02/17 02:14:34, je_julie wrote: > > On 2016/02/16 ...
4 years, 10 months ago (2016-02-17 02:52:35 UTC) #21
dmazzoni
On 2016/02/17 02:52:35, je_julie wrote: > I think I tried to handle it more complicated ...
4 years, 10 months ago (2016-02-17 07:04:56 UTC) #22
je_julie(Not used)
Dominic and keishi, I updated patchset with several changes below. 1) added AXRadioInput.h/cpp. It’s created ...
4 years, 10 months ago (2016-02-22 15:29:48 UTC) #24
keishi
https://codereview.chromium.org/1628283002/diff/160001/third_party/WebKit/Source/core/html/forms/RadioButtonGroupScope.cpp File third_party/WebKit/Source/core/html/forms/RadioButtonGroupScope.cpp (right): https://codereview.chromium.org/1628283002/diff/160001/third_party/WebKit/Source/core/html/forms/RadioButtonGroupScope.cpp#newcode242 third_party/WebKit/Source/core/html/forms/RadioButtonGroupScope.cpp:242: if (!isNextPosition(item, current)) This reordering is like O(N^3). Could ...
4 years, 10 months ago (2016-02-23 09:43:00 UTC) #25
je_julie(Not used)
keishi and Dominic, I moved the main code to handle posInSet and setSize AX-attributes to ...
4 years, 9 months ago (2016-02-27 14:01:08 UTC) #27
keishi
I am uncertain about the timing of AX notifications, but the forms side looks good. ...
4 years, 9 months ago (2016-02-29 05:19:19 UTC) #28
je_julie(Not used)
keishi, Thanks for your time to review this patch. I fixed typo and added comment ...
4 years, 9 months ago (2016-02-29 15:11:45 UTC) #29
dmazzoni
lgtm https://codereview.chromium.org/1628283002/diff/200001/third_party/WebKit/Source/modules/accessibility/AXRadioInput.cpp File third_party/WebKit/Source/modules/accessibility/AXRadioInput.cpp (right): https://codereview.chromium.org/1628283002/diff/200001/third_party/WebKit/Source/modules/accessibility/AXRadioInput.cpp#newcode115 third_party/WebKit/Source/modules/accessibility/AXRadioInput.cpp:115: HTMLInputElement* AXRadioInput::findNextFocusableRadioButtonInGroup(HTMLInputElement* current, bool forward) const On 2016/02/29 ...
4 years, 9 months ago (2016-02-29 17:16:19 UTC) #30
keishi
LGTM +tkent FYI
4 years, 9 months ago (2016-03-01 01:22:33 UTC) #32
tkent
https://codereview.chromium.org/1628283002/diff/220001/content/test/data/accessibility/aria/aria-posinset.html File content/test/data/accessibility/aria/aria-posinset.html (right): https://codereview.chromium.org/1628283002/diff/220001/content/test/data/accessibility/aria/aria-posinset.html#newcode45 content/test/data/accessibility/aria/aria-posinset.html:45: child.type = "radio"; We need a test to change ...
4 years, 9 months ago (2016-03-01 01:43:01 UTC) #33
tkent
https://codereview.chromium.org/1628283002/diff/220001/third_party/WebKit/Source/core/html/HTMLInputElement.h File third_party/WebKit/Source/core/html/HTMLInputElement.h (right): https://codereview.chromium.org/1628283002/diff/220001/third_party/WebKit/Source/core/html/HTMLInputElement.h#newcode98 third_party/WebKit/Source/core/html/HTMLInputElement.h:98: bool isRadioButton() const; On 2016/03/01 at 01:43:00, tkent wrote: ...
4 years, 9 months ago (2016-03-01 02:17:49 UTC) #34
je_julie(Not used)
tkent and keishi, I'd like to check one thing before I upload new patchset. Please ...
4 years, 9 months ago (2016-03-01 13:46:07 UTC) #35
tkent
https://codereview.chromium.org/1628283002/diff/220001/third_party/WebKit/Source/core/html/HTMLInputElement.h File third_party/WebKit/Source/core/html/HTMLInputElement.h (right): https://codereview.chromium.org/1628283002/diff/220001/third_party/WebKit/Source/core/html/HTMLInputElement.h#newcode98 third_party/WebKit/Source/core/html/HTMLInputElement.h:98: bool isRadioButton() const; On 2016/03/01 at 13:46:07, je_julie wrote: ...
4 years, 9 months ago (2016-03-02 00:40:02 UTC) #36
je_julie(Not used)
On 2016/03/02 00:40:02, tkent wrote: > Please follow my comment. > > > Keishi's comment ...
4 years, 9 months ago (2016-03-03 07:00:19 UTC) #40
tkent
lgtm
4 years, 9 months ago (2016-03-03 12:49:31 UTC) #41
je_julie(Not used)
On 2016/03/03 12:49:31, tkent wrote: > lgtm Reviewers, Thanks for your time to review this ...
4 years, 9 months ago (2016-03-04 00:23:12 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1628283002/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1628283002/260001
4 years, 9 months ago (2016-03-05 01:20:03 UTC) #45
commit-bot: I haz the power
Committed patchset #7 (id:260001)
4 years, 9 months ago (2016-03-05 02:51:12 UTC) #47
commit-bot: I haz the power
4 years, 9 months ago (2016-03-05 02:52:43 UTC) #49
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/c52244a6cfc56abce6411a2d82b31eaa06167ec3
Cr-Commit-Position: refs/heads/master@{#379445}

Powered by Google App Engine
This is Rietveld 408576698