Bug 285120
| Summary: | haptic feedback for <input type=checkbox switch> should require user activation | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | petamoriken |
| Component: | Forms | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/142190653>
Aditya Keerthi
Pull request: https://github.com/WebKit/WebKit/pull/38473
EWS
Committed 288403@main (dfb3971bb0d9): <https://commits.webkit.org/288403@main>
Reviewed commits have been landed. Closing PR #38473 and removing active labels.