Bug 147404 - AX: WebKit incorrectly exposes some plain text fields as search text fields
Summary: AX: WebKit incorrectly exposes some plain text fields as search text fields
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-07-29 01:12 PDT by James Craig
Modified: 2022-11-13 17:13 PST (History)
2 users (show)

See Also:


Attachments
test case (1.57 KB, text/html)
2015-07-29 01:14 PDT, James Craig
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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)