News for hackers. Stuff that matters.
Re:Just because I have a vertical screen doesn’t mean I’m on... by capableweb on Tuesday February 02, 2021 @04:32PM (#26007036)
Don't think that's quite right either. Pointer coarse would just refer to the device used for pointing. Using a tablet with a mouse would be "pointer: fine" but it's still a tablet.

As always, the issue isn't black and white. There is no solution that always works, because it depends on what you're targeting. If you want to scale elements to be easier clickable for people who might devices where it's harder to click/tap accurately, then "pointer: coarse" makes sense. If you're thinking about scaling elements on the website, some other solution fits better. Which one? Again depends on what you're aiming for.

Re:Just because I have a vertical screen doesn’t mean I’m on... by lolinder on Tuesday February 02, 2021 @10:56PM (#26010441)
The spec distinguishes between "pointer: coarse" and "any-pointer: coarse", where the former only asks about the primary pointer. I'd assume that tablets would leave "pointer" unchanged even if a mouse is plugged in, though I haven't verified that.

And aside from that, shouldn't a tablet where a mouse is being used as the primary input show buttons sized appropriately for a mouse, rather than larger ones? The whole idea of making buttons bigger on mobile is to accommodate thumbs, so it seems like this media query is exactly what we should be using.

Re:Just because I have a vertical screen doesn’t mean I’m on... by samatman on Tuesday February 02, 2021 @06:21PM (#26008480)
> Using a tablet with a mouse would be "pointer: fine"

I would want to check this empirically before accepting it as gospel. At least on the iPad, a mouse pointer is kinda halfway between a finger and a classic mouse pointer, and having to guess, my guess is that Safari doesn't change the designation just because there's a mouse plugged in.

Re:Just because I have a vertical screen doesn’t mean I’m on... by jamiek88 on Tuesday February 02, 2021 @07:38PM (#26009155)
Safari simulates a finger press when mouse is clicked. I’m 99% sure. Will check.