Bug 147404

Summary: AX: WebKit incorrectly exposes some plain text fields as search text fields
Product: WebKit Reporter: James Craig <jcraig>
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: akeerthi, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
test case none

Description James Craig 2015-07-29 01:12:05 PDT
7/26/15, 7:29 PM Vincent Young:
* SUMMARY
VoiceOver on Mac OS X is announcing “search” on text inputs when inside a form which has the string “search” either in the action or name.  

1. Load attached test case.
2. Turn on VoiceOver
3. Navigate through inputs
4. “Search” is announced on text inputs when it should not be
Comment 1 James Craig 2015-07-29 01:12:17 PDT
<rdar://problem/22003837>
Comment 2 James Craig 2015-07-29 01:14:08 PDT
Created attachment 257742 [details]
test case
Comment 3 James Craig 2015-07-29 01:17:11 PDT
Looks like WebKit is exposing all plain text fields as search text fields based on some form submission heuristic: "search" substring in form action or submit button label. 

Even if this logic is localized, it should not do that. Only <input type="search"> should be exposed as a "search text field" (AXSubrole:AXSearchField)