Bug 138904

Summary: AX: Unclear that user and password are autofilled, no VoiceOver version of the yellow outline.
Product: WebKit Reporter: chris fleizach <cfleizach>
Component: AccessibilityAssignee: chris fleizach <cfleizach>
Status: RESOLVED FIXED    
Severity: Normal CC: aboxhall, apinheiro, commit-queue, dmazzoni, jcraig, jdiggs, mario, samuel_white, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
patch
none
patch none

Description chris fleizach 2014-11-19 17:56:03 PST
If I find my focus in a user field with password already filled in, I am unaware of the difference between the website filling the content via cookie or other means, vs Safari's form filling function. Visually this is indicated with the yellow outline, and is not conveyed to the VO user.


<rdar://problem/18900545>
Comment 1 chris fleizach 2014-11-19 17:59:42 PST
Created attachment 241918 [details]
patch
Comment 2 Csaba Osztrogonác 2014-11-20 00:38:30 PST
Comment on attachment 241918 [details]
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=241918&action=review

> Source/WebCore/accessibility/AccessibilityObject.cpp:1984
> +    return downcast<HTMLInputElement>(*node).isAutofilled();

../../Source/WebCore/accessibility/AccessibilityObject.cpp: In member function 'bool WebCore::AccessibilityObject::isValueAutofilled() const':
../../Source/WebCore/accessibility/AccessibilityObject.cpp:1984:45: error: invalid use of incomplete type 'class WebCore::HTMLInputElement'
     return downcast<HTMLInputElement>(*node).isAutofilled();
                                             ^
Comment 3 chris fleizach 2014-11-20 00:56:48 PST
(In reply to comment #2)
> Comment on attachment 241918 [details]
> patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=241918&action=review
> 
> > Source/WebCore/accessibility/AccessibilityObject.cpp:1984
> > +    return downcast<HTMLInputElement>(*node).isAutofilled();
> 
> ../../Source/WebCore/accessibility/AccessibilityObject.cpp: In member
> function 'bool WebCore::AccessibilityObject::isValueAutofilled() const':
> ../../Source/WebCore/accessibility/AccessibilityObject.cpp:1984:45: error:
> invalid use of incomplete type 'class WebCore::HTMLInputElement'
>      return downcast<HTMLInputElement>(*node).isAutofilled();
>                                              ^

Must be missing an #include for HTMLInputElement.
Comment 4 chris fleizach 2014-11-20 10:00:59 PST
Created attachment 241956 [details]
patch
Comment 5 chris fleizach 2014-11-21 09:18:45 PST
I think the EFL failure is unrelated

-----------
-MT Source/WebCore/CMakeFiles/WebCore.dir/rendering/RenderBlock.cpp.o -MF "Source/WebCore/CMakeFiles/WebCore.dir/rendering/RenderBlock.cpp.o.d" -o Source/WebCore/CMakeFiles/WebCore.dir/rendering/RenderBlock.cpp.o -c ../../Source/WebCore/rendering/RenderBlock.cpp
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
ninja: build stopped: subcommand failed.
Comment 6 Mario Sanchez Prada 2014-11-21 10:34:32 PST
Comment on attachment 241956 [details]
patch

I agree on that the EFL error seems unrelated
Comment 7 WebKit Commit Bot 2014-11-21 16:02:47 PST
Comment on attachment 241956 [details]
patch

Clearing flags on attachment: 241956

Committed r176481: <http://trac.webkit.org/changeset/176481>
Comment 8 WebKit Commit Bot 2014-11-21 16:02:54 PST
All reviewed patches have been landed.  Closing bug.