Bug 136687 - AX: VoiceOver in Safari on Mac OS misidentifies text fields as search fields
Summary: AX: VoiceOver in Safari on Mac OS misidentifies text fields as search fields
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.9
: P4 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2014-09-09 16:49 PDT by Kasper Munck
Modified: 2022-02-12 23:37 PST (History)
6 users (show)

See Also:


Attachments
Sample html file illustrating the problem. (614 bytes, text/html)
2014-09-09 16:50 PDT, Kasper Munck
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kasper Munck 2014-09-09 16:49:48 PDT
When VoiceOver encounters an input field with a "search" keyword in one of the attributes, it believes the field in question is a search field.

Steps to Reproduce:
1. Launch VoiceOver with CMD-F5 and open Safari.
2. Load the attached file.
3. Tab to the "First Name" field and listen to the feedback from VoiceOver.

Expected Results:
VoiceOver should say "first name text field".

Actual Results:
VoiceOver says "first name search text field".
Comment 1 Kasper Munck 2014-09-09 16:50:38 PDT
Created attachment 237872 [details]
Sample html file illustrating the problem.
Comment 2 WebKit Commit Bot 2014-09-09 16:51:37 PDT
Attachment 237872 [details] did not pass style-queue:


Total errors found: 0 in 0 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Darin Adler 2014-09-10 08:38:13 PDT
This problem is an intentional strategy.

See the function AccessibilityNodeObject::isSearchField.

So we won’t take the code out just because of this test case. VoceOver needs to treat fields as search fields when that’s appropriate, not just when the web engine is using its special search field styling and support. If we wanted to change the heuristic here about which fields are treated as search fields, we’d need some evidence that it would help on more websites than it would hurt on.
Comment 4 Radar WebKit Bug Importer 2014-09-11 15:29:37 PDT
<rdar://problem/18312423>