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 163088
Web Inspector: AXI: focused/focusable state should be based on Accessibility Object instead of Element
https://bugs.webkit.org/show_bug.cgi?id=163088
Summary
Web Inspector: AXI: focused/focusable state should be based on Accessibility ...
Aaron Chu
Reported
2016-10-06 14:30:11 PDT
The current focus implementation uses a DOM focusable check instead of and accessibility focusable check.
Attachments
Patch
(1.78 KB, patch)
2016-10-07 10:41 PDT
,
Aaron Chu
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Aaron Chu
Comment 1
2016-10-06 14:33:09 PDT
<
rdar://problem/16421985
>
Aaron Chu
Comment 2
2016-10-07 10:41:24 PDT
Created
attachment 290941
[details]
Patch
Darin Adler
Comment 3
2016-10-07 12:21:11 PDT
Comment on
attachment 290941
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=290941&action=review
> Source/WebCore/ChangeLog:13 > + Covered by existing tests: > + LayoutTests/inspector/dom/getAccessibilityPropertiesForNode.html
Maybe the code is exercised by that test, but does that test show the bug? If it did, then there would need to be a test result update in this patch.
Aaron Chu
Comment 4
2016-10-07 12:31:02 PDT
Comment on
attachment 290941
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=290941&action=review
>> Source/WebCore/ChangeLog:13 >> + LayoutTests/inspector/dom/getAccessibilityPropertiesForNode.html > > Maybe the code is exercised by that test, but does that test show the bug? If it did, then there would need to be a test result update in this patch.
I ran the test with the new code and the result was consistant with the result. Would that suffice?
Joseph Pecoraro
Comment 5
2016-10-11 12:07:00 PDT
Comment on
attachment 290941
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=290941&action=review
>>> Source/WebCore/ChangeLog:13 >>> + LayoutTests/inspector/dom/getAccessibilityPropertiesForNode.html >> >> Maybe the code is exercised by that test, but does that test show the bug? If it did, then there would need to be a test result update in this patch. > > I ran the test with the new code and the result was consistant with the result. Would that suffice?
Darin has a point. If this change is fixing an issue, then there should be a test that shows what changed. The existing test didn't change its results, so whatever this patch is fixing is not included in that test! Ideally you would update the test to cover the case that this patch fixes. That will ensure the issue fixed by this patch doesn't regress in the future.
Joseph Pecoraro
Comment 6
2016-10-18 15:43:34 PDT
Comment on
attachment 290941
[details]
Patch From Aaron via email:
> Technically there isn’t an issue, noting was breaking. I think James > original concern was that the isFocusable was not “authenticatic” > because it was not coming from an AXObject while we are trying to > show the related properties in the AX Inspector.
Sounds good to land.
WebKit Commit Bot
Comment 7
2016-10-18 16:06:56 PDT
Comment on
attachment 290941
[details]
Patch Clearing flags on attachment: 290941 Committed
r207496
: <
http://trac.webkit.org/changeset/207496
>
WebKit Commit Bot
Comment 8
2016-10-18 16:07:00 PDT
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