Bug 260960 - autocomplete email does not work on input
Summary: autocomplete email does not work on input
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: Safari 16
Hardware: Unspecified macOS 13
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-08-31 05:15 PDT by collimarco91
Modified: 2023-09-07 05:15 PDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description collimarco91 2023-08-31 05:15:01 PDT
I have a simple form with this input:

<input type="email" name="email" id="email" value="" required="required" autocomplete="email" placeholder="Your email">

The form allow the users to subscribe to a newsletter.

The user clicks on the field and starts typing the email, but Safari doesn't suggest anything and doesn't try to autocomplete.

Chrome on the other hand, immediately suggests your user email when you focus the field. This is a better UX.

Can you improve this?
Comment 1 Alexey Proskuryakov 2023-08-31 09:15:07 PDT
Not sure if this is a Safari or WebKit behavior, but yes, this seems weird.
Comment 2 Karl Dubost 2023-09-03 22:54:45 PDT
https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-autocomplete-email
I'm not sure this is controlled by WebKit either.
Forms have often the AutoFill form feature with a key
Comment 3 Radar WebKit Bug Importer 2023-09-07 05:15:12 PDT
<rdar://problem/115109926>