Csswg-drafts: [css-mediaqueries] expose user left/right hand preference

Created on 23 Oct 2019  路  2Comments  路  Source: w3c/csswg-drafts

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

mediaqueries-5

Most helpful comment

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

All 2 comments

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

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

Was this page helpful?
0 / 5 - 0 ratings