Bug 236588

Summary: Text replacement highlight shows even if input is hidden
Product: WebKit Reporter: Jake Archibald <jaffathecake>
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: akeerthi, cdumez, megan_gardner, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: Safari 15   
Hardware: Unspecified   
OS: iOS 15   
Attachments:
Description Flags
Screenshot none

Jake Archibald
Reported 2022-02-14 04:49:35 PST
Created attachment 451891 [details] Screenshot https://static-misc-3.glitch.me/ios-text-bug/ 1. Tap the 'input' 2. Type 'hellp' using the on screen keyboard A blue rectangle appears. This demo simulates a fake input. In cases like this, the developer wants the user to interact with a real input (and gain all the usability and accessibility benefits), but they want to create a different visual representation of the input, so the real input is visually hidden. The blue rectangle is the highlight iOS produces when an autocorrect candidate is found. This shouldn't be visible in this example. Ideally it would take the opacity of the input into account.
Attachments
Screenshot (33.33 KB, image/png)
2022-02-14 04:49 PST, Jake Archibald
no flags
Radar WebKit Bug Importer
Comment 1 2022-02-14 19:59:00 PST
Note You need to log in before you can comment on or make changes to this bug.