Autocomplete Tokens
HTML autocomplete="webauthn"
Final token requesting passkey suggestions on an input or textarea in a conditional WebAuthn sign-in flow. Markup alone does not start that flow. Use this value on a compatible form control. Autofill is a browser/user preference, not an input constraint or proof that the value is accurate. Validate submitted data separately. The example demonstrates the markup only; a secure origin, server challenge and conditional credentials request are needed for a functional passkey flow.
Formal Syntax & Structure
html syntaxhtml
autocomplete="username webauthn"Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| autocomplete | ordered token list | Use username webauthn as the attribute value. |
Working Example
Example Snippethtml
<label> Sign-in name <input type="text" name="webauthn" autocomplete="username webauthn"></label>