WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 193225
Web Inspector: Audit: provide a way to get related Accessibility nodes for a given node
https://bugs.webkit.org/show_bug.cgi?id=193225
Summary
Web Inspector: Audit: provide a way to get related Accessibility nodes for a ...
Devin Rousso
Reported
2019-01-07 18:02:42 PST
This corresponds to the following `DOM.AccessibilityProperties` properties (except they'd return `Node`s instead of `DOM.NodeId`s): - activeDescendantNodeId - childNodeIds - controlledNodeIds - flowedNodeIds - mouseEventNodeId - ownedNodeIds - parentNodeId - selectedChildNodeIds
Attachments
Patch
(13.82 KB, patch)
2019-01-07 19:09 PST
,
Devin Rousso
hi
: commit-queue-
Details
Formatted Diff
Diff
Patch
(15.57 KB, patch)
2019-01-07 19:54 PST
,
Devin Rousso
hi
: commit-queue-
Details
Formatted Diff
Diff
Patch
(20.97 KB, patch)
2019-01-10 16:25 PST
,
Devin Rousso
hi
: commit-queue-
Details
Formatted Diff
Diff
Patch
(21.75 KB, patch)
2019-01-10 18:55 PST
,
Devin Rousso
no flags
Details
Formatted Diff
Diff
Patch
(17.03 KB, patch)
2019-01-15 10:16 PST
,
Devin Rousso
no flags
Details
Formatted Diff
Diff
Patch
(16.97 KB, patch)
2019-01-15 10:19 PST
,
Devin Rousso
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews100 for mac-highsierra
(2.48 MB, application/zip)
2019-01-15 11:21 PST
,
EWS Watchlist
no flags
Details
Archive of layout-test-results from ews105 for mac-highsierra-wk2
(2.57 MB, application/zip)
2019-01-15 11:33 PST
,
EWS Watchlist
no flags
Details
Archive of layout-test-results from ews112 for mac-highsierra
(2.03 MB, application/zip)
2019-01-15 11:57 PST
,
EWS Watchlist
no flags
Details
Patch
(17.45 KB, patch)
2019-01-15 17:18 PST
,
Devin Rousso
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews100 for mac-highsierra
(2.60 MB, application/zip)
2019-01-15 18:12 PST
,
EWS Watchlist
no flags
Details
Archive of layout-test-results from ews107 for mac-highsierra-wk2
(2.55 MB, application/zip)
2019-01-15 18:45 PST
,
EWS Watchlist
no flags
Details
Archive of layout-test-results from ews114 for mac-highsierra
(2.52 MB, application/zip)
2019-01-15 19:09 PST
,
EWS Watchlist
no flags
Details
Patch
(17.21 KB, patch)
2019-01-18 17:19 PST
,
Devin Rousso
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews103 for mac-highsierra
(2.56 MB, application/zip)
2019-01-18 18:02 PST
,
EWS Watchlist
no flags
Details
Archive of layout-test-results from ews114 for mac-highsierra
(2.10 MB, application/zip)
2019-01-18 18:44 PST
,
EWS Watchlist
no flags
Details
Archive of layout-test-results from ews107 for mac-highsierra-wk2
(2.88 MB, application/zip)
2019-01-18 19:41 PST
,
EWS Watchlist
no flags
Details
Patch
(17.50 KB, patch)
2019-01-19 00:49 PST
,
Devin Rousso
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ews103 for mac-highsierra
(2.41 MB, application/zip)
2019-01-19 01:52 PST
,
EWS Watchlist
no flags
Details
Archive of layout-test-results from ews105 for mac-highsierra-wk2
(2.54 MB, application/zip)
2019-01-19 02:05 PST
,
EWS Watchlist
no flags
Details
Archive of layout-test-results from ews117 for mac-highsierra
(2.02 MB, application/zip)
2019-01-19 05:36 PST
,
EWS Watchlist
no flags
Details
Patch
(17.56 KB, patch)
2019-01-22 10:37 PST
,
Devin Rousso
no flags
Details
Formatted Diff
Diff
Show Obsolete
(21)
View All
Add attachment
proposed patch, testcase, etc.
Devin Rousso
Comment 1
2019-01-07 18:02:59 PST
<
rdar://problem/46799956
>
Devin Rousso
Comment 2
2019-01-07 19:09:40 PST
Created
attachment 358565
[details]
Patch
Devin Rousso
Comment 3
2019-01-07 19:54:18 PST
Created
attachment 358568
[details]
Patch Minor test fixes.
Devin Rousso
Comment 4
2019-01-10 16:25:10 PST
Created
attachment 358848
[details]
Patch Throw an error when called outside of a test
Devin Rousso
Comment 5
2019-01-10 18:55:02 PST
Created
attachment 358858
[details]
Patch
Joseph Pecoraro
Comment 6
2019-01-14 14:14:59 PST
Comment on
attachment 358858
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=358858&action=review
r=me, earlier patch comments applying.
> Source/WebCore/inspector/InspectorAuditAccessibilityUtilities.cpp:109 > + if (controlledElement)
Nit: Is this if check necessary, would elementsFromAttribute return a null element?
> Source/WebCore/inspector/InspectorAuditAccessibilityUtilities.cpp:131 > + if (flowedElement)
Nit: Is this if check necessary, would elementsFromAttribute return a null element?
> Source/WebCore/inspector/InspectorAuditAccessibilityUtilities.cpp:148 > + } > + return nullptr;
Style: Sometimes you don't have a newline before the final return and sometimes you do. Would be nice to be consistent. I'd vote for always having a newline after a closing brace before a final return.
> Source/WebCore/inspector/InspectorAuditAccessibilityUtilities.cpp:164 > + if (ownedElement)
Nit: Is this if check necessary, would elementsFromAttribute return a null element?
Devin Rousso
Comment 7
2019-01-15 10:06:11 PST
Comment on
attachment 358858
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=358858&action=review
>> Source/WebCore/inspector/InspectorAuditAccessibilityUtilities.cpp:109 >> + if (controlledElement) > > Nit: Is this if check necessary, would elementsFromAttribute return a null element?
It doesn't look like it, as `elementsFromAttribute` does its own check, but I think this isn't a bad thing to have.
Devin Rousso
Comment 8
2019-01-15 10:16:10 PST
Created
attachment 359174
[details]
Patch
Devin Rousso
Comment 9
2019-01-15 10:19:01 PST
Created
attachment 359175
[details]
Patch
Joseph Pecoraro
Comment 10
2019-01-15 11:13:59 PST
(In reply to Devin Rousso from
comment #7
)
> Comment on
attachment 358858
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=358858&action=review
> > >> Source/WebCore/inspector/InspectorAuditAccessibilityUtilities.cpp:109 > >> + if (controlledElement) > > > > Nit: Is this if check necessary, would elementsFromAttribute return a null element? > > It doesn't look like it, as `elementsFromAttribute` does its own check, but > I think this isn't a bad thing to have.
We should never have to write code like: if (auto* x : list) { if (x) ...; } Lets drop them. The originating code in DOMAgent doesn't have these checks.
EWS Watchlist
Comment 11
2019-01-15 11:21:34 PST
Comment hidden (obsolete)
Comment on
attachment 359175
[details]
Patch
Attachment 359175
[details]
did not pass mac-ews (mac): Output:
https://webkit-queues.webkit.org/results/10761241
New failing tests: inspector/audit/run-accessibility.html
EWS Watchlist
Comment 12
2019-01-15 11:21:36 PST
Comment hidden (obsolete)
Created
attachment 359182
[details]
Archive of layout-test-results from ews100 for mac-highsierra The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews100 Port: mac-highsierra Platform: Mac OS X 10.13.6
EWS Watchlist
Comment 13
2019-01-15 11:33:34 PST
Comment hidden (obsolete)
Comment on
attachment 359175
[details]
Patch
Attachment 359175
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
https://webkit-queues.webkit.org/results/10761272
New failing tests: inspector/audit/run-accessibility.html
EWS Watchlist
Comment 14
2019-01-15 11:33:36 PST
Comment hidden (obsolete)
Created
attachment 359183
[details]
Archive of layout-test-results from ews105 for mac-highsierra-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews105 Port: mac-highsierra-wk2 Platform: Mac OS X 10.13.6
EWS Watchlist
Comment 15
2019-01-15 11:57:08 PST
Comment hidden (obsolete)
Comment on
attachment 359175
[details]
Patch
Attachment 359175
[details]
did not pass mac-debug-ews (mac): Output:
https://webkit-queues.webkit.org/results/10761253
New failing tests: inspector/audit/run-accessibility.html
EWS Watchlist
Comment 16
2019-01-15 11:57:10 PST
Comment hidden (obsolete)
Created
attachment 359188
[details]
Archive of layout-test-results from ews112 for mac-highsierra The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews112 Port: mac-highsierra Platform: Mac OS X 10.13.6
Devin Rousso
Comment 17
2019-01-15 17:18:30 PST
Created
attachment 359232
[details]
Patch
EWS Watchlist
Comment 18
2019-01-15 18:12:13 PST
Comment hidden (obsolete)
Comment on
attachment 359232
[details]
Patch
Attachment 359232
[details]
did not pass mac-ews (mac): Output:
https://webkit-queues.webkit.org/results/10766072
New failing tests: inspector/audit/run-accessibility.html
EWS Watchlist
Comment 19
2019-01-15 18:12:15 PST
Comment hidden (obsolete)
Created
attachment 359237
[details]
Archive of layout-test-results from ews100 for mac-highsierra The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews100 Port: mac-highsierra Platform: Mac OS X 10.13.6
EWS Watchlist
Comment 20
2019-01-15 18:45:40 PST
Comment hidden (obsolete)
Comment on
attachment 359232
[details]
Patch
Attachment 359232
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
https://webkit-queues.webkit.org/results/10766572
New failing tests: inspector/audit/run-accessibility.html
EWS Watchlist
Comment 21
2019-01-15 18:45:42 PST
Comment hidden (obsolete)
Created
attachment 359240
[details]
Archive of layout-test-results from ews107 for mac-highsierra-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews107 Port: mac-highsierra-wk2 Platform: Mac OS X 10.13.6
EWS Watchlist
Comment 22
2019-01-15 19:09:31 PST
Comment hidden (obsolete)
Comment on
attachment 359232
[details]
Patch
Attachment 359232
[details]
did not pass mac-debug-ews (mac): Output:
https://webkit-queues.webkit.org/results/10766525
New failing tests: inspector/audit/run-accessibility.html
EWS Watchlist
Comment 23
2019-01-15 19:09:33 PST
Comment hidden (obsolete)
Created
attachment 359244
[details]
Archive of layout-test-results from ews114 for mac-highsierra The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews114 Port: mac-highsierra Platform: Mac OS X 10.13.6
Devin Rousso
Comment 24
2019-01-18 17:19:00 PST
Created
attachment 359562
[details]
Patch Rebase
EWS Watchlist
Comment 25
2019-01-18 18:02:21 PST
Comment hidden (obsolete)
Comment on
attachment 359562
[details]
Patch
Attachment 359562
[details]
did not pass mac-ews (mac): Output:
https://webkit-queues.webkit.org/results/10804235
New failing tests: inspector/audit/run-accessibility.html
EWS Watchlist
Comment 26
2019-01-18 18:02:24 PST
Comment hidden (obsolete)
Created
attachment 359567
[details]
Archive of layout-test-results from ews103 for mac-highsierra The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews103 Port: mac-highsierra Platform: Mac OS X 10.13.6
EWS Watchlist
Comment 27
2019-01-18 18:44:29 PST
Comment hidden (obsolete)
Comment on
attachment 359562
[details]
Patch
Attachment 359562
[details]
did not pass mac-debug-ews (mac): Output:
https://webkit-queues.webkit.org/results/10804354
New failing tests: inspector/audit/run-accessibility.html
EWS Watchlist
Comment 28
2019-01-18 18:44:31 PST
Comment hidden (obsolete)
Created
attachment 359572
[details]
Archive of layout-test-results from ews114 for mac-highsierra The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews114 Port: mac-highsierra Platform: Mac OS X 10.13.6
EWS Watchlist
Comment 29
2019-01-18 19:41:25 PST
Comment hidden (obsolete)
Comment on
attachment 359562
[details]
Patch
Attachment 359562
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
https://webkit-queues.webkit.org/results/10805257
New failing tests: inspector/audit/run-accessibility.html
EWS Watchlist
Comment 30
2019-01-18 19:41:27 PST
Comment hidden (obsolete)
Created
attachment 359581
[details]
Archive of layout-test-results from ews107 for mac-highsierra-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews107 Port: mac-highsierra-wk2 Platform: Mac OS X 10.13.6
Devin Rousso
Comment 31
2019-01-19 00:49:55 PST
Created
attachment 359596
[details]
Patch
EWS Watchlist
Comment 32
2019-01-19 01:52:01 PST
Comment hidden (obsolete)
Comment on
attachment 359596
[details]
Patch
Attachment 359596
[details]
did not pass mac-ews (mac): Output:
https://webkit-queues.webkit.org/results/10808577
New failing tests: inspector/audit/run-accessibility.html
EWS Watchlist
Comment 33
2019-01-19 01:52:03 PST
Comment hidden (obsolete)
Created
attachment 359601
[details]
Archive of layout-test-results from ews103 for mac-highsierra The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews103 Port: mac-highsierra Platform: Mac OS X 10.13.6
EWS Watchlist
Comment 34
2019-01-19 02:04:59 PST
Comment hidden (obsolete)
Comment on
attachment 359596
[details]
Patch
Attachment 359596
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
https://webkit-queues.webkit.org/results/10808595
New failing tests: inspector/audit/run-accessibility.html
EWS Watchlist
Comment 35
2019-01-19 02:05:01 PST
Comment hidden (obsolete)
Created
attachment 359602
[details]
Archive of layout-test-results from ews105 for mac-highsierra-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews105 Port: mac-highsierra-wk2 Platform: Mac OS X 10.13.6
EWS Watchlist
Comment 36
2019-01-19 05:36:56 PST
Comment hidden (obsolete)
Comment on
attachment 359596
[details]
Patch
Attachment 359596
[details]
did not pass mac-debug-ews (mac): Output:
https://webkit-queues.webkit.org/results/10809640
New failing tests: inspector/audit/run-accessibility.html
EWS Watchlist
Comment 37
2019-01-19 05:36:58 PST
Comment hidden (obsolete)
Created
attachment 359604
[details]
Archive of layout-test-results from ews117 for mac-highsierra The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews117 Port: mac-highsierra Platform: Mac OS X 10.13.6
Devin Rousso
Comment 38
2019-01-22 10:37:53 PST
Created
attachment 359749
[details]
Patch
WebKit Commit Bot
Comment 39
2019-01-22 12:52:58 PST
Comment on
attachment 359749
[details]
Patch Clearing flags on attachment: 359749 Committed
r240277
: <
https://trac.webkit.org/changeset/240277
>
WebKit Commit Bot
Comment 40
2019-01-22 12:53:01 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug