NEW 176112
<input> element autocompletes based on placeholder text
https://bugs.webkit.org/show_bug.cgi?id=176112
Summary <input> element autocompletes based on placeholder text
Monica Dinculescu
Reported 2017-08-30 10:37:41 PDT
An <input autocomplete="off" placeholder="my favourite email"> will show email suggestions. It seems to look at the placeholder for magic words, and shouldn't, according to the spec: https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill. This happens whether the input is outside a form, inside a form, or inside a <form autocomplete=off>. JSBin: http://jsbin.com/mubaquluka/edit?html,output
Attachments
Monica Dinculescu
Comment 1 2017-08-30 11:14:47 PDT
(you need to have stuff in your Contacts book and allow autocompleting in Safari for autocomplete to work, btw)
Monica Dinculescu
Comment 2 2017-08-30 11:55:12 PDT
Radar WebKit Bug Importer
Comment 3 2017-08-30 11:57:52 PDT
Christopher Grande
Comment 4 2021-04-17 00:28:01 PDT
This continues to be an issue. Causing all sorts of oddities; for example: Safari autocomplete UI appearing over website autocomplete UI. Incorrect address book autocomplete, for example a field called "Event Name" triggers Safari to start presenting address book names. Incorrect password autocomplete, for example on password input fields being used to enter/obscure API keys or other sensitive but non password information. The only "fix" are fragile hacks, as mentioned by Monica.
Note You need to log in before you can comment on or make changes to this bug.