Bug 174770 - AX: Required field labels aren't announced on validation failure
Summary: AX: Required field labels aren't announced on validation failure
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: WebKit Nightly Build
Hardware: Mac macOS 10.12.4
: P2 Major
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-07-23 20:34 PDT by Matt Stow
Modified: 2017-07-23 21:23 PDT (History)
1 user (show)

See Also:


Attachments
Demo showing VoiceOver not announcing which fields have failed validation (388.05 KB, image/gif)
2017-07-23 20:34 PDT, Matt Stow
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Stow 2017-07-23 20:34:15 PDT
Created attachment 316256 [details]
Demo showing VoiceOver not announcing which fields have failed validation

When using the `required` attribute on form fields, when the focus is taken to the first field with errors, its label is not announced by VoiceOver; it just tells you to "Fill out this field", which is essentially useless for a blind user.

In this test case, https://jsfiddle.net/8c9qge88/, it happens when triggering the button with Enter, Space and VO Space on the button. On my more complex implementation in a WIP project, it always happens on Space, often happens on Enter and never happens on VO Space :-\
Comment 1 Radar WebKit Bug Importer 2017-07-23 20:34:42 PDT
<rdar://problem/33480505>
Comment 2 Matt Stow 2017-07-23 21:23:58 PDT
Also reproduced this behavior in Safari 10+