The autocomplete attribute is very extensive.
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes...
I don't recall the service, but one employer of mine had both the suggestions for the MFA token, and as an added bonus, the browser would attempt to correct the "typo" in my username.
I can give you a legitimate, actual use case where I had to develop a workaround: a page where an admin can change the password for a user. Under no circumstances would an autofill be desirable on that page, yet Chrome thinks it knows best.
Just don't give the input an "id=password" and Chrome won't throw your password into it.
It's just a label, the autofill is because it matches all the other sites where you do want Chrome to autofill your password.
> Autofill is a Privacy Violation here as it is retaining identity information about Clients when it MUST NOT.
Seems to make perfectly fine sense to me.
I was faced with this dilemma a few years ago. IIRC, the workaround was sketchy as hell. It was something like creating a password input field with the visibility set to none (and then chrome would autofill it, but it wouldn't be visible), and then the user enters their password into a regular text box, but you style the text box with CSS so that it appears as all discs. ~It was something like that, don't recall exactly.
This is one of the areas where browsers could really add some value. Make it easier to decide what to (not) remember. Make it easier to view and edit what's remembered. This is all a tedious pain at the moment, for no good reason I can see.
For me, Chrome has countless times clobbered the context-aware autofill (address fields, countries etc.) provided by the website with their useless autofill overlays.
I would much prefer if I could all together disable Chrome's suggestions in DOM input fields. Even when it has nothing to autofill, it sometimes puts something in there to take me to autofill settings or something.
At least this is one of the top complaints about my app that I get from the customer service folks that use it. I ended up somewhat fixing this by renaming the field, but sometimes it will still pop in something strange -- is Chrome picking up the word "Search" that appears as part of the user facing page content, even if the field ID is different?
edit: on login pages, beside those are some legitimate usecases.
I find it somewhat annoying that when I fill out my timecard at the end of the day autocomplete is on the hours field. I never want it to pop up my previous hours worked, that's annoying, I only want to enter the hours I worked today.
I can imagine legitimate hypothetical use cases for it. I've just never seen a legitimate actual use case.
Edit: NIST says (in https://pages.nist.gov/800-63-FAQ/#q-b12):
> In SP 800-63B, NIST has not explicitly recommended the use of password managers, but recommends that verifiers permit the use of “paste” functionality so that the subscriber can use a password manager if desired.
I'll take their word over some rando app developer who doesn't want users to have a working 1Password setup.