Bug 287686

Summary: autocomplete="email" doesn't work when it also contains "webauthn"
Product: WebKit Reporter: Jesper van den Ende <jespertheend>
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: akeerthi, cdumez, nitinmahendru, pascoe, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: Safari 17   
Hardware: Unspecified   
OS: macOS 14   

Jesper van den Ende
Reported 2025-02-13 19:08:40 PST
Our site has a passwordless login screen, which allows us to use a single interface for both logging in and registering a new account. But since we'd like to autofill passkeys with as little friction as possible, we need to include the "webauthn" autocomplete parameter as well. However, this seems to completely break the autofilling of any email addresses. I'm also seeing this on iOS 18.3.1 Steps to reproduce: 1. Visit https://webauthn-plus-email-autocomplete.glitch.me/ 2. Click the 'Email' text field 3. Start typing your email address Expected: The field autocompletes with an email address or a list of email addresses For reference, you can check the 'control' page to see what the autofill list should look like Actual: No autocompletion whatsoever
Attachments
Jesper van den Ende
Comment 1 2025-02-14 05:06:36 PST
It seems like older versions of safari also have broken email autocomplete when the address bar contains the text 'login', I've added some more pages to test some things. I also found another bug where webauthn autocomplete appears in input elements which only have autocomplete="email" (without webauthn). This doesn't happen in Technology Preview though, since webauthn autofill is completely broken for me in TP. (https://bugs.webkit.org/show_bug.cgi?id=287685)
Radar WebKit Bug Importer
Comment 2 2025-02-20 19:48:48 PST
pascoe@apple.com
Comment 3 2025-03-01 16:50:21 PST
*** This bug has been marked as a duplicate of bug 286978 ***
Note You need to log in before you can comment on or make changes to this bug.