From 02a2ea34c20b569260f84df7c7d3088e2da23cc7 Mon Sep 17 00:00:00 2001 From: Alexis Menard Date: Mon, 11 Mar 2024 15:23:58 -0400 Subject: [PATCH] Add accessibility section Closes #70 --- index.html | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/index.html b/index.html index af57b0f..6468ddb 100644 --- a/index.html +++ b/index.html @@ -606,6 +606,61 @@

+
+

+ Accessibility considerations +

+ The main focus of the Device Posture API is to improve the user experience. There are three ways + in which applications that build on the API can positively impact accessibility. +
    +
  1. Designing and making applications which do not place content in the fold/hinge + area, especially buttons. This area is typically hard to interact with with fingers + because the curvature of the fold make touch less precise or impossible. +
  2. +
  3. Designing and making applications which do not put a large contiguous content + (like a video or a picture) spanning across the fold/hinge area if the device is folded. + This area slightly distorts content and colors. +
  4. +
  5. Designing and making applications which use the screen estate better by + providing a split UI - a user interface where the content is split up across + the screen segments -, allowing the application to provide a differentiated + and more powerful interface. +
  6. +
+ When using this API it is important to consider the opportunities above with accessibility + in mind. Here are few concrete examples: +
    +
  • Placement of UI elements: A typical placement logic for dialogs + is to center them horizontally and vertically but in a device folded + with a symmetrical fold they may end up in the middle of the fold area + making it harder to interact with, for instance clicking on buttons. + It might also make it harder to read text due to distortion and light + reflection. +
  • +
  • Fullscreen mode: When resizing an element in + fullscreen, a typical logic would expand that element to the width and + the height of the {{Window}}. If the device is folded, the element will be + laid out across the fold making a subpar user experience. + An alternative is to display that element either on top or + below the fold area. +
  • +
  • Improving the user experience: With this API it is possible + to create a different and adapted user experience when the device is folded, + allowing for a better user experience and improved accessibility. + For example, when watching a video and the device is folded, the video could + be displayed on top of the fold while the comments section could be shown below + the fold by default. + Another example would be a video conferencing application showing the video + feed on top of the fold and the chat below the fold. +
  • +
  • Content shouldn't be designed for just one {{posture}}: + The idea of foldable devices is their versatility and the ability for the user + to change the posture as they see fit. With accessibility, it is important to not + always choose for the user as they might have other needs but allowing them to choose + the UI that fits their needs better. Ideally it is preferred to make the UI configurable. +
  • +
+

Examples