WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 155567
145200
AX: AutoFill button is not accessible with VoiceOver
https://bugs.webkit.org/show_bug.cgi?id=145200
Summary
AX: AutoFill button is not accessible with VoiceOver
Daniel Bates
Reported
2015-05-19 20:30:19 PDT
We should make the AutoFill button accessible to people that use VoiceOver just as we do for other buttons, including the search field cancel button.
Attachments
Patch
(20.19 KB, patch)
2015-05-19 21:48 PDT
,
Daniel Bates
no flags
Details
Formatted Diff
Diff
Patch
(6.93 KB, patch)
2015-05-20 10:22 PDT
,
Daniel Bates
cfleizach
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Daniel Bates
Comment 1
2015-05-19 20:30:48 PDT
<
rdar://problem/20507480
>
Radar WebKit Bug Importer
Comment 2
2015-05-19 20:30:55 PDT
<
rdar://problem/21032401
>
Radar WebKit Bug Importer
Comment 3
2015-05-19 20:30:56 PDT
<
rdar://problem/21032404
>
Daniel Bates
Comment 4
2015-05-19 20:33:28 PDT
(In reply to
comment #2
)
> <
rdar://problem/21032401
>
(In reply to
comment #3
)
> <
rdar://problem/21032404
>
Disregard these radars.
Daniel Bates
Comment 5
2015-05-19 21:48:41 PDT
Created
attachment 253426
[details]
Patch
Daniel Bates
Comment 6
2015-05-19 22:07:47 PDT
I took inspiration from class AccessibilitySearchFieldCancelButton.
chris fleizach
Comment 7
2015-05-19 22:21:53 PDT
Comment on
attachment 253426
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=253426&action=review
thanks! looking good
> Source/WebCore/accessibility/AccessibilityAutoFillButton.cpp:55 > + textOrder.append(AccessibilityText(accessibilityDescription(), AlternativeText));
It might be easier to set the label in the code that creates the object m_autoFillButton->setAttribute(aria_labelAttr, "autofill"); then the existing text calculation methods can take over, since this is a AXRenderObject
> Source/WebCore/accessibility/AccessibilityAutoFillButton.cpp:60 > + return accessibilityIsIgnoredByDefault();
this override might not be necessary. maybe you tested this and it was because something the AXRenderObject method return YES to ignore, but there's a chance that this would just work by default
> Source/WebCore/accessibility/AccessibilityAutoFillButton.h:39 > + AccessibilityRole roleValue() const override { return ButtonRole; }
these three methods can be private
Daniel Bates
Comment 8
2015-05-20 10:22:08 PDT
Created
attachment 253444
[details]
Patch Updated patched based on Chris Fleizach's feedback.
Daniel Bates
Comment 9
2015-05-20 10:58:47 PDT
Committed
r184645
: <
http://trac.webkit.org/changeset/184645
>
WebKit Commit Bot
Comment 10
2015-05-20 13:07:45 PDT
Re-opened since this is blocked by
bug 145220
Jake Nielsen
Comment 11
2015-05-20 13:10:39 PDT
As Alexey noticed, this broke the build.
Alexey Proskuryakov
Comment 12
2015-05-20 13:16:42 PDT
Dan, looks like you fixed the reason why EWS was red, but the landed patch broke the build in a different way: <
https://webkit-queues.appspot.com/results/4565750211674112
>. Additionally, the new test fails on Windows:
https://build.webkit.org/results/Apple%20Win%207%20Release%20(Tests)/r184646%20(51955)/accessibility/input-auto-fill-button-diff.txt
Daniel Bates
Comment 13
2015-05-20 14:38:10 PDT
Committed
r184660
: <
http://trac.webkit.org/changeset/184660
>
Daniel Bates
Comment 14
2015-06-26 15:20:46 PDT
Rolled out <
http://trac.webkit.org/changeset/184660
> in <
http://trac.webkit.org/changeset/186012
> because it caused a regression.
Daniel Bates
Comment 15
2015-06-26 15:21:06 PDT
Re-opening bug.
Daniel Bates
Comment 16
2016-08-19 15:09:34 PDT
*** This bug has been marked as a duplicate of
bug 155567
***
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