Title: `
Open Graph Title: `
X Title: `
Description: Reproduction No special setup needed: any app with the default
Open Graph Description: Reproduction No special setup needed: any app with the default
X Description: Reproduction No special setup needed: any app with the default <SignIn /> / <SignUp /> and email (email code) as the only identifier shows it, e.g. a fresh Next.js quickstart. Descripti...
Opengraph URL: https://github.com/clerk/javascript/issues/10285
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`\u003cSignIn />` and `\u003cSignUp />` email and name fields have no `autocomplete`, so browsers don't offer the user's email","articleBody":"### Reproduction\n\nNo special setup needed: any app with the default `\u003cSignIn />` / `\u003cSignUp />` and email (email code) as the only identifier shows it, e.g. a fresh Next.js quickstart.\n\n### Description\n\nWith email as the sign-in identifier, the prebuilt components render the email and name fields without any `autocomplete` attribute:\n\n```html\n\u003c!-- \u003cSignIn /> -->\n\u003cinput id=\"identifier-field\" name=\"identifier\" type=\"text\" inputmode=\"email\" ...>\n\n\u003c!-- \u003cSignUp /> -->\n\u003cinput id=\"firstName-field\" name=\"firstName\" type=\"text\" ...>\n\u003cinput id=\"lastName-field\" name=\"lastName\" type=\"text\" ...>\n\u003cinput id=\"emailAddress-field\" name=\"emailAddress\" type=\"text\" inputmode=\"email\" ...>\n```\n\nSo Safari (macOS/iOS/iPadOS), the iOS QuickType keyboard and password managers can't tell the field is an email field, and they don't offer the user's email. This is worst with passwordless sign-in (email code): there's no password field, so the browser never saves a login. Users type their full email by hand on every sign-in. We see it in session recordings: the same users typing their email letter by letter every week, and users have reported it.\n\n`type=\"text\"`, `name=\"identifier\"` and a translated label (here French, \"Adresse e-mail\") leave the browser almost nothing to guess from.\n\nIn the source, the identifier field only gets `autocomplete` when passkey autofill is on, and then the value is `webauthn` on its own:\n\nhttps://github.com/clerk/javascript/blob/485eba446a6fdc3a821f2d970059408e0bada741/packages/ui/src/components/SignIn/SignInStart.tsx#L676\n\n```tsx\nautoComplete={isWebAuthnAutofillSupported ? 'webauthn' : undefined}\n```\n\nThere's no prop or `appearance` option to set it, so the only workaround is adding the attribute to Clerk's DOM from outside with a `MutationObserver`.\n\n**Steps to reproduce:**\n\n1. Enable email (email code) as the only identifier in the dashboard.\n2. Render `\u003cSignIn />` (or `\u003cSignUp />`).\n3. Inspect the email field, or focus it in Safari on iOS/iPadOS.\n\n**Expected behavior:**\n\nThe fields carry standard `autocomplete` tokens, so browsers, keyboards and password managers can offer the user's details:\n\n- Sign-in identifier: `email` when email is the only identifier, `tel` for phone only, `username` for username or mixed identifiers. With passkey autofill, add `webauthn` after the field name (`username webauthn`, `email webauthn`). A bare `webauthn` isn't a valid value per the HTML spec, which expects it after a field name.\n- Sign-up: `email` on `emailAddress`, `given-name` on `firstName`, `family-name` on `lastName`, `tel` on `phoneNumber`, `username` on `username`.\n\nThis is also an accessibility issue: WCAG 2.1 SC 1.3.5 *Identify Input Purpose* (Level AA) asks for `autocomplete` on fields that collect the user's own information.\n\n**Actual behavior:**\n\nNo `autocomplete` attribute on these fields (unless passkeys are on, then a bare `webauthn`). Safari and the iOS keyboard don't suggest the user's email.\n\n### Environment\n\n```\n@clerk/nextjs: 7.5.2\n@clerk/clerk-js: 6 (loaded from Frontend API)\n@clerk/ui: 1.40.0 (loaded from Frontend API)\nnext: 16.3.1\nreact: 19\nSeen in: Safari on iPadOS (user report); confirmed in Chromium and WebKit (Playwright)\n```\n","author":{"url":"https://github.com/sambegin","@type":"Person","name":"sambegin"},"datePublished":"2026-10-18T13:02:01Z","url":"https://github.com/clerk/javascript/issues/10285"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:5f60db99-e999-3f43-51f4-53ff17fa1a6a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BEB8:38C411:7372D7:A1FC96:6AFB685C |
| html-safe-nonce | 2db23a08c30d086e37be9777d14d9a69c382970c832d495e0f1c551f740892d8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRUI4OjM4QzQxMTo3MzcyRDc6QTFGQzk2OjZBRkI2ODVDIiwidmlzaXRvcl9pZCI6IjM5MzUyNzE3NjI1MDkxMjk4MjAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 1165020951bf8db8e3131c2b3c2e14c4bf204c1b2301854e4efe6133cacbafc8 |
| hovercard-subject-tag | issue:5909790923 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/clerk/javascript/10285/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4d65c026fd2bcf9778cf3525e9963b78b2cdd4ea95136bb9904aa22a7bd019f4/clerk/javascript/issues/10285 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4d65c026fd2bcf9778cf3525e9963b78b2cdd4ea95136bb9904aa22a7bd019f4/clerk/javascript/issues/10285 |
| og:image:alt | Reproduction No special setup needed: any app with the default |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sambegin |
| hostname | github.com |
| expected-hostname | github.com |
| None | ea33d13c96d0ff66bd8fa906b193d2213536b78cb06b0c50a4632c58b1418f94 |
| turbo-cache-control | no-preview |
| go-import | github.com/clerk/javascript git https://github.com/clerk/javascript.git |
| octolytics-dimension-user_id | 49538330 |
| octolytics-dimension-user_login | clerk |
| octolytics-dimension-repository_id | 438331492 |
| octolytics-dimension-repository_nwo | clerk/javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 438331492 |
| octolytics-dimension-repository_network_root_nwo | clerk/javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 59ef97164c52cf59bd10558ddec9c4f482763988 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width