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

Issue 2390783006: [DevTools] Accessibility: Show siblings and children of selected node (Closed)

Created:
4 years, 2 months ago by aboxhall
Modified:
4 years, 1 month ago
Reviewers:
dmazzoni, dgozman
CC:
chromium-reviews, caseq+blink_chromium.org, haraken, aboxhall+watch_chromium.org, nektar+watch_chromium.org, lushnikov+blink_chromium.org, yuzo+watch_chromium.org, pfeldman+blink_chromium.org, nektarios, dmazzoni, apavlov+blink_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, devtools-reviews_chromium.org, blink-reviews, je_julie, pfeldman, kozyatinskiy+blink_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Show siblings and children of selected node BUG=560525 Committed: https://crrev.com/3a46cc72d58945804dd4919a679a8ce26690bfc0 Cr-Commit-Position: refs/heads/master@{#431304}

Patch Set 1 #

Patch Set 2 : sync #

Patch Set 3 : WIP fixing things for ignored nodes #

Patch Set 4 : rebase #

Patch Set 5 : wip #

Patch Set 6 : rebase #

Patch Set 7 : Siblings of ignored mostly working #

Patch Set 8 : pointer->reference #

Patch Set 9 : Ready for a first look #

Total comments: 19

Patch Set 10 : Revert spurious changes #

Patch Set 11 : Clarify magic 0 #

Patch Set 12 : Fine-tune keyboard interaction with accessibility tree #

Patch Set 13 : rebase #

Patch Set 14 : Some rearranging and updting JSDoc #

Patch Set 15 : Handle non-rendered nodes which are not top-level #

Total comments: 2

Patch Set 16 : Rework and rebase tests; add option to not fetch relatives #

Patch Set 17 : Update and refine tests #

Patch Set 18 : Handle indirect children better #

Total comments: 16

Patch Set 19 : dgozman comments part 1 #

Patch Set 20 : Format #

Patch Set 21 : UI feedback from Chris #

Total comments: 13

Patch Set 22 : Rebase and make inspect button white on hover #

Patch Set 23 : Rebase, address comments, revert images #

Total comments: 18

Patch Set 24 : dgozman comments #

Total comments: 8

Patch Set 25 : More dgozman comments #

Patch Set 26 : dgozman comments #

Patch Set 27 : Rebase tests again and be consistent about backendDOMNodeId #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6795 lines, -6795 lines) Patch
M third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-dumpAccessibilityNodes.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 5 chunks +178 lines, -56 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-getAXNode.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -54 lines 0 comments Download
D third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-getAXNode-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -70 lines 0 comments Download
D third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-getAXNodeWithAncestors.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 20 1 chunk +0 lines, -62 lines 0 comments Download
D third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-getAXNodeWithAncestors-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 20 1 chunk +0 lines, -169 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-getNodeWithNoAXNode.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +5 lines, -35 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-getNodeWithNoAXNode-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +15 lines, -14 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-getRelationships.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-getRelationships-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +121 lines, -133 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-ignoredNodes.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 3 chunks +15 lines, -6 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-ignoredNodes-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +385 lines, -428 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-ignoredNodesModal.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-ignoredNodesModal-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +63 lines, -81 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-nameSources-buttons.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-nameSources-buttons-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +491 lines, -557 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-nameSources-img-figure.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-nameSources-img-figure-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +545 lines, -617 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-nameSources-input.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-nameSources-input-buttons.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-nameSources-input-buttons-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +1123 lines, -1231 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-nameSources-input-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +921 lines, -987 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-nameSources-labelledby.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-nameSources-labelledby-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +1111 lines, -1219 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-nameSources-summary.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-nameSources-summary-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +206 lines, -230 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-nameSources-visiblity.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-nameSources-visiblity-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +678 lines, -732 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/browser_protocol.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 2 chunks +9 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/Images/src/optimize_png.hashes View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/accessibility/AXTreePane.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 5 chunks +319 lines, -19 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/accessibility/AccessibilityModel.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 5 chunks +159 lines, -31 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/accessibility/AccessibilityNodeView.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/accessibility/AccessibilitySidebarView.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 2 chunks +16 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/accessibility/accessibilityNode.css View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 3 chunks +75 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/InspectorAccessibilityAgent.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 2 chunks +59 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/InspectorAccessibilityAgent.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 7 chunks +269 lines, -24 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/InspectorTypeBuilderHelper.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 47 (15 generated)
aboxhall
Ready for a first look. See bug for screenshots. Suggestions welcome on how/if I might ...
4 years, 2 months ago (2016-10-19 00:09:26 UTC) #3
aboxhall
On 2016/10/19 00:09:26, aboxhall wrote: > Ready for a first look. See bug for screenshots. ...
4 years, 2 months ago (2016-10-19 00:26:03 UTC) #4
dmazzoni
No big concerns, this looks pretty reasonable overall! I only skimmed the JS, I focused ...
4 years, 2 months ago (2016-10-19 16:33:49 UTC) #5
aboxhall
https://codereview.chromium.org/2390783006/diff/160001/third_party/WebKit/Source/modules/accessibility/InspectorAccessibilityAgent.cpp File third_party/WebKit/Source/modules/accessibility/InspectorAccessibilityAgent.cpp (right): https://codereview.chromium.org/2390783006/diff/160001/third_party/WebKit/Source/modules/accessibility/InspectorAccessibilityAgent.cpp#newcode156 third_party/WebKit/Source/modules/accessibility/InspectorAccessibilityAgent.cpp:156: void fillWidgetProperties(AXObject& axObject, On 2016/10/19 16:33:49, dmazzoni wrote: > ...
4 years, 2 months ago (2016-10-19 23:49:05 UTC) #6
aboxhall
https://codereview.chromium.org/2390783006/diff/160001/third_party/WebKit/Source/modules/accessibility/InspectorAccessibilityAgent.cpp File third_party/WebKit/Source/modules/accessibility/InspectorAccessibilityAgent.cpp (right): https://codereview.chromium.org/2390783006/diff/160001/third_party/WebKit/Source/modules/accessibility/InspectorAccessibilityAgent.cpp#newcode546 third_party/WebKit/Source/modules/accessibility/InspectorAccessibilityAgent.cpp:546: // Otherwise, just add the un-ignored children. On 2016/10/19 ...
4 years, 2 months ago (2016-10-21 17:28:23 UTC) #7
dmazzoni
On Wed, Oct 19, 2016 at 4:49 PM <aboxhall@chromium.org> wrote: > > https://codereview.chromium.org/2390783006/diff/160001/third_party/WebKit/Source/modules/accessibility/InspectorAccessibilityAgent.cpp#newcode434 > > ...
4 years, 2 months ago (2016-10-21 18:28:42 UTC) #8
dmazzoni
On Wed, Oct 19, 2016 at 4:49 PM <aboxhall@chromium.org> wrote: > > https://codereview.chromium.org/2390783006/diff/160001/third_party/WebKit/Source/modules/accessibility/InspectorAccessibilityAgent.cpp#newcode434 > > ...
4 years, 2 months ago (2016-10-21 18:29:16 UTC) #9
aboxhall
On Fri, Oct 21, 2016 at 11:28 AM, Dominic Mazzoni <dmazzoni@chromium.org> wrote: > On Wed, ...
4 years, 2 months ago (2016-10-21 18:47:48 UTC) #10
aboxhall
On Fri, Oct 21, 2016 at 11:28 AM, Dominic Mazzoni <dmazzoni@chromium.org> wrote: > On Wed, ...
4 years, 2 months ago (2016-10-21 18:47:50 UTC) #11
dmazzoni
On Fri, Oct 21, 2016 at 11:47 AM Alice Boxhall <aboxhall@chromium.org> wrote: > Yeah, I ...
4 years, 2 months ago (2016-10-21 19:57:11 UTC) #12
dmazzoni
On Fri, Oct 21, 2016 at 11:47 AM Alice Boxhall <aboxhall@chromium.org> wrote: > Yeah, I ...
4 years, 2 months ago (2016-10-21 19:57:11 UTC) #13
dmazzoni
lgtm I took another pass through the code. I see one more potential issue with ...
4 years, 2 months ago (2016-10-21 20:09:42 UTC) #14
aboxhall
On Fri, Oct 21, 2016 at 12:56 PM, Dominic Mazzoni <dmazzoni@chromium.org> wrote: > On Fri, ...
4 years, 2 months ago (2016-10-21 20:24:39 UTC) #15
aboxhall
On Fri, Oct 21, 2016 at 12:56 PM, Dominic Mazzoni <dmazzoni@chromium.org> wrote: > On Fri, ...
4 years, 2 months ago (2016-10-21 20:24:39 UTC) #16
dmazzoni
lgtm
4 years, 1 month ago (2016-10-24 14:08:56 UTC) #17
aboxhall
+dgozman - this is now (finally) ready for a look on the devtools side. https://codereview.chromium.org/2390783006/diff/280001/third_party/WebKit/Source/modules/accessibility/InspectorAccessibilityAgent.cpp ...
4 years, 1 month ago (2016-10-31 19:33:25 UTC) #19
dgozman
Made a first pass. A lot to review! - Please mention DevTools and accessibility in ...
4 years, 1 month ago (2016-10-31 21:36:31 UTC) #22
aboxhall
https://codereview.chromium.org/2390783006/diff/340001/third_party/WebKit/Source/core/inspector/browser_protocol.json File third_party/WebKit/Source/core/inspector/browser_protocol.json (right): https://codereview.chromium.org/2390783006/diff/340001/third_party/WebKit/Source/core/inspector/browser_protocol.json#newcode4382 third_party/WebKit/Source/core/inspector/browser_protocol.json:4382: { "name": "childIds", "type": "array", "items": { "$ref": "AXNodeId" ...
4 years, 1 month ago (2016-10-31 22:45:16 UTC) #25
aboxhall
Oops, hit publish too soon, will ping again when new patch ready.
4 years, 1 month ago (2016-10-31 22:45:49 UTC) #26
aboxhall
Patch uploaded, still need to create that other patch though.
4 years, 1 month ago (2016-10-31 23:14:01 UTC) #27
aboxhall
Reformatted and made some UI tweaks based on advice from Chris.
4 years, 1 month ago (2016-11-03 16:51:30 UTC) #28
dgozman
Some top-level comments below. I'll do thorough pass once we resolve them. https://codereview.chromium.org/2390783006/diff/400001/third_party/WebKit/Source/devtools/front_end/accessibility/AXTreePane.js File third_party/WebKit/Source/devtools/front_end/accessibility/AXTreePane.js ...
4 years, 1 month ago (2016-11-03 22:07:29 UTC) #29
aboxhall
https://codereview.chromium.org/2390783006/diff/400001/third_party/WebKit/Source/devtools/front_end/accessibility/AXTreePane.js File third_party/WebKit/Source/devtools/front_end/accessibility/AXTreePane.js (right): https://codereview.chromium.org/2390783006/diff/400001/third_party/WebKit/Source/devtools/front_end/accessibility/AXTreePane.js#newcode181 third_party/WebKit/Source/devtools/front_end/accessibility/AXTreePane.js:181: this.listItemElement.classList.add('inspected'); On 2016/11/03 22:07:29, dgozman wrote: > this._inspected = ...
4 years, 1 month ago (2016-11-04 22:31:17 UTC) #30
dgozman
Frontend mostly looks good. I'll take another pass on backend on Monday. Tests are just ...
4 years, 1 month ago (2016-11-04 23:22:46 UTC) #31
aboxhall
On 2016/11/04 23:22:46, dgozman wrote: > Frontend mostly looks good. I'll take another pass on ...
4 years, 1 month ago (2016-11-04 23:28:33 UTC) #32
aboxhall
https://codereview.chromium.org/2390783006/diff/440001/third_party/WebKit/Source/devtools/front_end/accessibility/AXTreePane.js File third_party/WebKit/Source/devtools/front_end/accessibility/AXTreePane.js (right): https://codereview.chromium.org/2390783006/diff/440001/third_party/WebKit/Source/devtools/front_end/accessibility/AXTreePane.js#newcode221 third_party/WebKit/Source/devtools/front_end/accessibility/AXTreePane.js:221: if (this._axNode && this._axNode.name().value) { On 2016/11/04 23:22:45, dgozman ...
4 years, 1 month ago (2016-11-07 19:54:43 UTC) #33
dgozman
https://codereview.chromium.org/2390783006/diff/440001/third_party/WebKit/Source/devtools/front_end/accessibility/AXTreePane.js File third_party/WebKit/Source/devtools/front_end/accessibility/AXTreePane.js (right): https://codereview.chromium.org/2390783006/diff/440001/third_party/WebKit/Source/devtools/front_end/accessibility/AXTreePane.js#newcode301 third_party/WebKit/Source/devtools/front_end/accessibility/AXTreePane.js:301: this._ensureSelection(); On 2016/11/07 19:54:43, aboxhall wrote: > On 2016/11/04 ...
4 years, 1 month ago (2016-11-08 16:38:41 UTC) #34
aboxhall
https://codereview.chromium.org/2390783006/diff/440001/third_party/WebKit/Source/devtools/front_end/accessibility/AXTreePane.js File third_party/WebKit/Source/devtools/front_end/accessibility/AXTreePane.js (right): https://codereview.chromium.org/2390783006/diff/440001/third_party/WebKit/Source/devtools/front_end/accessibility/AXTreePane.js#newcode301 third_party/WebKit/Source/devtools/front_end/accessibility/AXTreePane.js:301: this._ensureSelection(); On 2016/11/08 16:38:41, dgozman wrote: > On 2016/11/07 ...
4 years, 1 month ago (2016-11-08 18:02:18 UTC) #35
dgozman
lgtm
4 years, 1 month ago (2016-11-09 19:48:24 UTC) #36
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/2390783006/520001
4 years, 1 month ago (2016-11-10 17:23:43 UTC) #43
commit-bot: I haz the power
Committed patchset #27 (id:520001)
4 years, 1 month ago (2016-11-10 18:57:32 UTC) #45
commit-bot: I haz the power
4 years, 1 month ago (2016-11-10 19:09:15 UTC) #47
Message was sent while issue was closed.
Patchset 27 (id:??) landed as
https://crrev.com/3a46cc72d58945804dd4919a679a8ce26690bfc0
Cr-Commit-Position: refs/heads/master@{#431304}

Powered by Google App Engine
This is Rietveld 408576698