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

Issue 2893683002: Selection follows focus/activedescendant in single selection containers (Closed)

Created:
3 years, 7 months ago by aleventhal
Modified:
3 years, 6 months ago
Reviewers:
dmazzoni, David Tseng
CC:
chromium-reviews, aboxhall, aboxhall+watch_chromium.org, nektar+watch_chromium.org, yuzo+watch_chromium.org, nektarios, je_julie, dougt+watch_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, blink-reviews, dmazzoni
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Selection follows focus/activedescendant in single selection containers BUG=722503 Review-Url: https://codereview.chromium.org/2893683002 Cr-Commit-Position: refs/heads/master@{#474303} Committed: https://chromium.googlesource.com/chromium/src/+/5730ebb5038385964944377c1256244068b134d1

Patch Set 1 : Add failing tests #

Patch Set 2 : More tests #

Patch Set 3 : Format #

Total comments: 2

Patch Set 4 : Tweaks #

Patch Set 5 : git cl try #

Patch Set 6 : Make options focusable in blink layer, fix tests #

Patch Set 7 : Fix tests #

Patch Set 8 : Compile #

Patch Set 9 : Tests #

Patch Set 10 : Fix tests #

Patch Set 11 : Expose select options in a canvas, when the select is a combobox. Make them focusable #

Patch Set 12 : Fix expected test results #

Patch Set 13 : Tests #

Patch Set 14 : Fix tests #

Patch Set 15 : Android spinner is always a leaf. On other platforms, options are focusable and selectable. #

Patch Set 16 : More tests, improve Android code #

Patch Set 17 : Compile #

Patch Set 18 : Fix tests #

Patch Set 19 : Fix test syntax #

Patch Set 20 : Fix Android tests #

Patch Set 21 : Last test to fix we hope #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+477 lines, -56 lines) Patch
M content/browser/accessibility/browser_accessibility_android.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +1 line, -1 line 0 comments Download
M content/browser/accessibility/browser_accessibility_android.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 3 chunks +9 lines, -7 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_com_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +0 lines, -6 lines 0 comments Download
M content/test/data/accessibility/aria/aria-combobox.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -0 lines 0 comments Download
M content/test/data/accessibility/aria/aria-combobox-expected-win.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +2 lines, -2 lines 0 comments Download
M content/test/data/accessibility/aria/aria-option.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +3 lines, -0 lines 0 comments Download
M content/test/data/accessibility/aria/aria-option-expected-android.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +2 lines, -2 lines 0 comments Download
A content/test/data/accessibility/aria/aria-option-expected-blink.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +4 lines, -0 lines 0 comments Download
M content/test/data/accessibility/aria/aria-option-expected-win.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +2 lines, -2 lines 0 comments Download
M content/test/data/accessibility/event/aria-combo-box-expand-expected-win.txt View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/test/data/accessibility/event/aria-combo-box-next-expected-win.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M content/test/data/accessibility/html/optgroup-expected-android.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +4 lines, -4 lines 0 comments Download
M content/test/data/accessibility/html/select.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +3 lines, -1 line 0 comments Download
M content/test/data/accessibility/html/select-expected-android.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +3 lines, -3 lines 0 comments Download
A content/test/data/accessibility/html/select-expected-blink.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +25 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/accessibility/aom-boolean-properties.html View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
A third_party/WebKit/LayoutTests/accessibility/aria-combobox-activedescendant.html View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +28 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/accessibility/aria-disabled.html View 1 2 chunks +22 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/accessibility/aria-disabled-expected.txt View 1 2 3 4 5 6 2 chunks +10 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/accessibility/aria-option-role.html View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +3 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/accessibility/aria-option-role-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/accessibility/canvas-accessibilitynodeobject-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/accessibility/disabled-not-selectable.html View 1 2 1 chunk +146 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/accessibility/listbox-focus.html View 1 2 3 4 5 6 7 8 9 2 chunks +15 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/accessibility/nochildren-elements.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +5 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/accessibility/nochildren-elements-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/accessibility/selection-follows-focus.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +72 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp View 1 2 3 1 chunk +16 lines, -10 lines 1 comment Download
M third_party/WebKit/Source/modules/accessibility/AXListBoxOption.h View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXListBoxOption.cpp View 1 2 3 4 5 6 7 8 9 10 2 chunks +6 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXMenuListOption.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXMenuListOption.cpp View 1 2 3 4 5 6 7 8 9 10 3 chunks +25 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +26 lines, -5 lines 1 comment Download
M third_party/WebKit/Source/modules/accessibility/AXObjectImpl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXObjectImpl.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +30 lines, -1 line 0 comments Download

Messages

Total messages: 106 (90 generated)
aleventhal
Ready for review
3 years, 7 months ago (2017-05-19 18:05:40 UTC) #11
dmazzoni
Change looks good, wondering if we can or should tighten it up a bit more ...
3 years, 7 months ago (2017-05-19 19:54:05 UTC) #14
dmazzoni
Change looks good, wondering if we can or should tighten it up a bit more
3 years, 7 months ago (2017-05-19 19:54:05 UTC) #15
aleventhal
On 2017/05/19 19:54:05, dmazzoni wrote: > Change looks good, wondering if we can or should ...
3 years, 7 months ago (2017-05-19 20:16:55 UTC) #18
dmazzoni
lgtm
3 years, 7 months ago (2017-05-22 20:59:31 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/2893683002/340001
3 years, 7 months ago (2017-05-23 23:55:57 UTC) #82
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/434780)
3 years, 7 months ago (2017-05-24 03:04:53 UTC) #84
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/2893683002/340001
3 years, 7 months ago (2017-05-24 03:44:42 UTC) #86
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/2893683002/360001
3 years, 7 months ago (2017-05-24 04:20:41 UTC) #89
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/301542)
3 years, 7 months ago (2017-05-24 08:01:03 UTC) #91
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/2893683002/380001
3 years, 7 months ago (2017-05-24 12:14:30 UTC) #94
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/2893683002/400001
3 years, 7 months ago (2017-05-24 13:45:03 UTC) #97
commit-bot: I haz the power
Committed patchset #21 (id:400001) as https://chromium.googlesource.com/chromium/src/+/5730ebb5038385964944377c1256244068b134d1
3 years, 7 months ago (2017-05-24 15:51:59 UTC) #101
David Tseng
As FYI. This cl regresses previous aria-selected behavior on a grid with an active descendant. ...
3 years, 6 months ago (2017-06-06 20:58:30 UTC) #104
David Tseng
https://codereview.chromium.org/2893683002/diff/400001/third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp File third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp (right): https://codereview.chromium.org/2893683002/diff/400001/third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp#newcode1330 third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp:1330: role == kTreeItemRole || role == kCellRole || role ...
3 years, 6 months ago (2017-06-06 21:28:47 UTC) #105
aleventhal
3 years, 6 months ago (2017-06-08 17:24:46 UTC) #106
Message was sent while issue was closed.
On 2017/06/06 21:28:47, David Tseng wrote:
>
https://codereview.chromium.org/2893683002/diff/400001/third_party/WebKit/Sou...
> File third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp (right):
> 
>
https://codereview.chromium.org/2893683002/diff/400001/third_party/WebKit/Sou...
> third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp:1330: role ==
> kTreeItemRole || role == kCellRole || role == kTabRole) &&
> The spec includes the roles:
> 
> gridcell
> option
> row
> tab
> Inherits into Roles:	
> columnheader
> rowheader
> treeitem

Hi David, what example regresses? Is it a grid with aria-multiselectable="true"
?

Powered by Google App Engine
This is Rietveld 408576698