Was surprised to see haptics work here https://haptics.lochie.me/ (https://github.com/lochie/web-haptics) on Safari iOS because Safari doesn't support `navigator.vibrate`.
An older project make it work too: Tactus https://tactus.aadee.xyz/ (https://github.com/aadeexyz/tactus)
Turns out it's a hidden `<input type="checkbox" switch>`. `switch` was added as part of Safari 17.4 https://webkit.org/blog/15054/an-html-switch-control/ (Feb 2024). It's the one that creates the haptic feedback.
WebHaptics simply toggles the switch at specific timing patterns ๐ซจ
