[csswg-drafts] [mediaqueries] Suggestion: "prefers-pointer-location" (#7872)

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

== [mediaqueries] Suggestion: "prefers-pointer-location" ==
Firstly, I'm uncertain as to whether user suggestions are welcome here, or if they are preferred elsewhere. (feel free to redirect me!)

There is a small accessibility issue that makes using web pages on the internet marginally more difficult for left-handed mobile users: placement.

I am in interested in specifically discussing how many webpages have "hamburger menus" on the right side, and how browsers have the scrollbars on the right side.

A left-handed user on a mobile client will likely use their thumb to scroll on the page, or click items on the page. Therefore, in order to tap the scrollbar and drag down to any specific point on the web page, the user would have to move their (left!) thumb across the page - partially obscuring their view - to reach the scrollbar, then scroll, finally retracting to see the contents (, unless they're not at the place that they want to be at, in which case they'd have to repeat the process).

During a discussion elsewhere about this topic, it was suggested that a media query is proposed:
```
prefers-pointer-position: left | right | any;
```

As the example situation I described shows, the proposal here is intended to allow positioning elements efficiently for left/right handed users, as appropriate.

Another note, from @andreubotella, is that exposing this feature has privacy implications to consider, as it would reveal a client's hand dominance. 

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


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

Received on Wednesday, 12 October 2022 20:28:28 UTC