Case ce-0071 · Scenario scenario-autocorrect-behavior

autocorrect attribute behavior differs on contenteditable

OS: iOS 17.0 Device: iPhone Any Browser: Safari 17.0 Keyboard: US Status: draft
autocorrect mobile ios safari

Phenomenon

The autocorrect attribute, which controls automatic text correction on mobile keyboards, behaves differently on contenteditable elements compared to standard input elements. The correction suggestions may interfere with editing.

Reproduction example

  1. Create a contenteditable div with autocorrect="on" or autocorrect="off".
  2. On an iOS device, focus the contenteditable.
  3. Type text with intentional misspellings.
  4. Observe autocorrect behavior and compare with standard inputs.

Observed behavior

  • In Safari on iOS, autocorrect may not respect the attribute value on contenteditable.
  • Autocorrect suggestions may appear even when autocorrect="off".
  • Behavior may differ from standard input elements.

Expected behavior

  • autocorrect should work identically on contenteditable and standard inputs.
  • The attribute value should be respected.
  • Autocorrect should not interfere with IME composition.

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: iOS 17.0
Device: iPhone Any
Browser: Safari 17.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.