Contact emails
Spec
https://notifications.spec.whatwg.org/#require-interaction-preference-flag
Summary
Support for the NotificationOptions.requireInteraction property, letting authors hint that a notification should remain readily available until the user clicks or dismisses it.
requireInteraction defaults to false, so unless authors add it, Chrome desktop will start to auto-minimize notifications to the notification center after a few seconds (rather than remaining permanently on-screen as happens today).
Motivation
User studies have shown that users find it annoying when notifications remain on-screen, covering up other apps until dismissed. Additionally, we have observed that existing deployments of notifications frequently dismiss them after a short timeout (indeed, Chrome already does this for all other notifications). This feedback was so universal that we've decided to change our default UI behaviour, and we proposed this spec change so those sites that prefer the old behaviour can opt back into it.
Link to “Intent to Implement” blink-dev discussion
https://groups.google.com/a/chromium.org/d/topic/blink-dev/ZYXDFeTdY6k/discussion
Is this feature supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
The property will be supported but ignored in Chrome for Android, since Android requires that notifications are always minimized there (due to the reduced screen area, and the mature notification center). And Android WebView doesn’t yet support notifications at all.
Demo link
Pass --enable-blink-features=NotificationExperimental to Chrome Canary and visit https://jsbin.com/mipaku
Compatibility Risk
Minor. This hint should help define behaviour that previously was entirely UA-specific.
Firefox: Public support
Edge: No public signals (do not yet ship notifications)
Safari: No public signals
Web developers: Strongly positive
OWP launch tracking bug
Entry on the feature dashboard
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.