Re: [csswg-drafts] Need for detecting the typical viewing distance in media queries (#13398)

Are you sure that a new MQ feature is the best approach to solve this use case?

I believe touch targets should be specified in a _physical_ unit like `mm`, possibly within `min()`, `max()` or `clamp()` together with an _optical_ unit like `px`. 

For what it’s worth, considering that the dimensions of the body part used for pointing and touching do not change by viewing distance, but the choice of body part may depend on that and also their sizes slightly differ among users, I (unsuccessfully) proposed a bunch of human-sized units like `tip` and `tap` a couple of years ago in #837.

-- 
GitHub Notification of comment by Crissov
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13398#issuecomment-3801367810 using your GitHub account


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

Received on Monday, 26 January 2026 19:34:26 UTC