[Webkit-unassigned] [Bug 220592] New: AX: Voice Control inserts leading spaces in input fields
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jan 13 08:28:29 PST 2021
https://bugs.webkit.org/show_bug.cgi?id=220592
Bug ID: 220592
Summary: AX: Voice Control inserts leading spaces in input
fields
Product: WebKit
Version: Safari 14
Hardware: Mac (Intel)
OS: macOS 11
Status: NEW
Severity: Normal
Priority: P2
Component: Accessibility
Assignee: webkit-unassigned at lists.webkit.org
Reporter: philsherry at mac.com
CC: webkit-bug-importer at group.apple.com
Created attachment 417536
--> https://bugs.webkit.org/attachment.cgi?id=417536&action=review
Web inspector showing the issue described in example 1.
Why: When using Voice Control to input a value, a leading space is automatically inserted. On many forms, this might lead to a validation error. As the user didn’t insert this space, they are unaware of its existence and will be confused about why they’re seeing a validation error, or some other form of error. I would argue that this opens the doors to WCAG Guideline 3.3 – Input Assistance issues.
Example 1: Input of a date on the example page:
Example page: [Design System » Date input » Example](https://design-system.service.gov.uk/components/date-input/default/index.html)
Insert the day with the keyboard as a baseline test: `11`. Then switch to using Voice Control to enter the month and year.
> “01”
> “Next field”
> “2021”
This actually tries to submit the following three values:
1. `11`
2. ` 01`
3. ` 2021`
☝️ Note the leading spaces in the inputs where Voice Control was used. Visually, they’re barely noticeable, but these will cause validation issues and force the error state. I’ll attach a screenshot from Safari’s web inspector, showing those values.
Example 2: Picking a country from an autocomplete:
Example page: [Accessible Autocomplete form example](https://alphagov.github.io/accessible-autocomplete/examples/form.html can you do)
To get this example working, use the keyboard to tab into the first input, delete the content so that the field is empty and ready to go.
> “Sweden”
> Sweden (No results)
> *sigh*
> “Select word. Delete previous character.”
> Sweden (1 Result)
Screenshots attached.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210113/f967c142/attachment.htm>
More information about the webkit-unassigned
mailing list