Android browsers

Vibration and haptics test

Check your phone's vibration motor with preset and custom patterns. On iPhone, see how to test the Taptic Engine and Core Haptics instead.

Checking whether this browser can vibrate…

How to test your phone's vibration

Why it does not work on iPhone

Web pages vibrate a device through the Vibration API (navigator.vibrate). Apple has not implemented it in Safari, and every iPhone browser uses Safari's engine, so no website can make an iPhone vibrate.

On iPhone, haptics are available only to apps. To check the hardware, go to Settings › Sounds & Haptics and make sure System Haptics is on, and Settings › Accessibility › Touch › Vibration is on. A long-press on an app icon should give a light tap.

Developers use Core Haptics (CHHapticEngine) for custom patterns with intensity and sharpness, and the simpler feedback generators: UIImpactFeedbackGenerator (light, medium, heavy, soft, rigid), UINotificationFeedbackGenerator (success, warning, error) and UISelectionFeedbackGenerator. In SwiftUI, .sensoryFeedback does the same on iOS 17 and later.

If you feel nothing on Android

Learn more

A practical guide to iOS haptics and iOS haptic patterns explain which feedback to use where.

Questions

Can a website make my iPhone vibrate?

No. iPhone browsers do not support the Vibration API, so web pages cannot vibrate an iPhone. Native apps use Core Haptics instead.

Which browsers support the vibration test?

Chrome, Samsung Internet, Edge and Opera on Android. Desktop browsers may accept the request but computers rarely have a vibration motor.

How do I write a vibration pattern?

List durations in milliseconds, alternating vibrate and pause: 200, 100, 200 means buzz 200 ms, pause 100 ms, buzz 200 ms.

Can I control vibration strength from the web?

No. The Vibration API only controls timing. Intensity and sharpness are available to native apps, for example through Core Haptics on iPhone.

How do I test haptics on an iPhone?

Check Settings › Sounds & Haptics and Settings › Accessibility › Touch › Vibration, then long-press an app icon. Haptics Explorer lets you feel each system and custom pattern.

From the same developer