Bug 285120

Summary: haptic feedback for <input type=checkbox switch> should require user activation
Product: WebKit Reporter: petamoriken
Component: FormsAssignee: Aditya Keerthi <akeerthi>
Status: RESOLVED FIXED    
Severity: Minor CC: akeerthi, annevk, bfulgham, cdumez, pp.mizdra, webkit-bug-importer, wenson_hsieh, wilander
Priority: P2 Keywords: InRadar
Version: Safari 18   
Hardware: iPhone / iPad   
OS: iOS 18   

petamoriken
Reported 2024-12-23 16:59:42 PST
Haptic feedback for <input type=checkbox switch> was introduced in iOS Safari 18.0. https://developer.apple.com/documentation/safari-release-notes/safari-18-release-notes#Forms Currently, it is possible to exploit this feature and generate vibrations from JavaScript, so haptic feedback should be disabled without *user activation*. FYI (a Japanese article): https://zenn.dev/dev_commune/articles/1ae0b3744b04ca
Attachments
Radar WebKit Bug Importer
Comment 1 2024-12-30 17:00:13 PST
Aditya Keerthi
Comment 2 2025-01-02 14:05:07 PST
EWS
Comment 3 2025-01-03 08:50:15 PST
Committed 288403@main (dfb3971bb0d9): <https://commits.webkit.org/288403@main> Reviewed commits have been landed. Closing PR #38473 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.