Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[css-mediaqueries] expose user left/right hand preference #4443

Open
nico3333fr opened this issue Oct 23, 2019 · 9 comments
Open

[css-mediaqueries] expose user left/right hand preference #4443

nico3333fr opened this issue Oct 23, 2019 · 9 comments

Comments

@nico3333fr
Copy link

Usually, an app/website design will place main CTAs at a place that can be reached easily on a smartphone using the thumb. Usually on the bottom right, however, this could be problematic for left-handed people.

image

image

Idea

It would be nice to have the possiblity to adapt websites/apps depending on left/right handed user preference @media prefers-hand: right/left/no-preference (default), which would allow to easily customize interfaces.

Example

.mySuperCTA {
  position: fixed;
  right: 0;
  bottom: 0;
}

@media prefers-hand: right {
  .mySuperCTA {
    right: auto;
    left: 0;
  }
}

Ressources

@tabatkins
Copy link
Member

Is this information actually collected by mobile devices? From my experience, this has been a per-app setting.

@Malvoz
Copy link
Contributor

Malvoz commented Nov 5, 2019

Such a feature aligns well with the goals of WAI Personalization.

@brechtDR
Copy link

This should get some more attention for sure! It could be beneficial for accessibility for left handed people or in worst-case, people who are forced to use their left hand.

@tabatkins
Copy link
Member

My earlier question stands: is this information actually collected by the OS, and/or do we have browsers planning to collect it themselves? If so, exposing it is fine and reasonable; the use-cases make complete sense. If not, then this info simply isn't available for us to expose.

@rigiddesign
Copy link

This would be amazing. I agree with @tabatkins, though it would be best if this could be defined at the OS level, however, it exiting would at least allow developers to implement it into their own application

@Crissov
Copy link
Contributor

Crissov commented Nov 10, 2022

This reminds me of the tip unit from #614 #837.

@tabatkins
Copy link
Member

@rigiddesign No, my question was "where is the data coming from?". If the data doesn't exist (either at the OS or browser level), we can't expose it.

@Crissov I cannot see any connection between this and tip.

@rigiddesign
Copy link

@tabatkins, ah. Well then, no. Not as far as I am aware. A user preference at the OS level would be amazing, just like you can specify your light / dark preference.

My previous statement stands, though. If it existed as a media query, though, it would mean developers could at least build it into their own app.

@zim32
Copy link

zim32 commented Jan 12, 2023

I don't understand why this is still not implemented feature. For example i am left handed and for me it will be very nice to specify on the browser that o am left handed and ui will match my preference. This is left handed discrimination

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants