NEW260960
autocomplete email does not work on input
https://bugs.webkit.org/show_bug.cgi?id=260960
Summary autocomplete email does not work on input
collimarco91
Reported 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?
Attachments
Alexey Proskuryakov
Comment 1 2023-08-31 09:15:07 PDT
Not sure if this is a Safari or WebKit behavior, but yes, this seems weird.
Karl Dubost
Comment 2 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
Radar WebKit Bug Importer
Comment 3 2023-09-07 05:15:12 PDT
Jesper van den Ende
Comment 4 2025-02-14 04:52:40 PST
I found two instances where autocomplete="email" fails: - on insecure http:// pages - when the address bar contains the text 'login' There are probably more cases as well but it's difficult to say without more info
Note You need to log in before you can comment on or make changes to this bug.