[csswg-drafts] [mediaqueries-5] Detecting "private" hover (#9085)

grorg has just created a new issue for https://github.com/w3c/csswg-drafts:

== [mediaqueries-5] Detecting "private" hover ==
Media Queries has a feature for detecting `hover` capabilities of a device. It distinguishes between `none` (no hover at all) and `hover` (some hover!).

Apple's visionOS has an interaction model that does not give the page any information on the position of the pointer, which is derived from the user's gaze. While this would seem to fall into the `none` category, we have found it important to give the user some feedback on what they are about to interact with. This is implemented with an effect that is rendered by the browser engine and not detectable from the page.

In order to do this, the browser must infer information from the content. In particular what areas of the page are able to be interacted with. We've found through experience that it often requires some tweaks to the design of the page. Here is a video describing the approach and solutions: https://developer.apple.com/videos/play/wwdc2023-10279

For this reason we think we need another value for this media query. We're suggesting `private`, which is a pretty good description of what is happening: the browser is showing a hover effect that is private - only seen by the user, not the page.

Of course, we'd love to hear other suggestions!

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9085 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 18 July 2023 21:31:18 UTC