Case ce-0058 · Scenario scenario-autocomplete-behavior

Autocomplete suggestions do not appear for contenteditable

OS: macOS Ubuntu 22.04 Device: Desktop or Laptop Any Browser: Chrome 120.0 Keyboard: US Status: draft
autocomplete suggestions chrome

Phenomenon

Browser autocomplete suggestions (for forms, addresses, etc.) do not appear when typing in contenteditable regions, even when appropriate autocomplete attributes are set. This limits the usefulness of contenteditable for form-like inputs.

Reproduction example

  1. Create a contenteditable div with autocomplete="name".
  2. Start typing a name that has been previously entered in forms.
  3. Observe whether autocomplete suggestions appear.

Observed behavior

  • In Chrome on macOS, autocomplete suggestions do not appear for contenteditable.
  • The autocomplete attribute is ignored.
  • Users cannot benefit from browser autocomplete features.

Expected behavior

  • Autocomplete suggestions should appear for contenteditable when appropriate attributes are set.
  • The behavior should match standard input elements.
  • Form-like contenteditable regions should support autocomplete.

Playground for this case

Use the reported environment as a reference and record what happens in your environment while interacting with the editable area.

Reported environment
OS: macOS Ubuntu 22.04
Device: Desktop or Laptop Any
Browser: Chrome 120.0
Keyboard: US
Your environment

Use this editable area to reproduce the described case.

Event log
Use this log together with the case description when filing or updating an issue.
0 events
Interact with the editable area to see events here.