android icon indicating copy to clipboard operation
android copied to clipboard

[a11y] 11.2.1.1 Keyboard

Open tschiebel opened this issue 10 months ago • 2 comments

audit: https://infinite.owncloud.com/s/QtwuiGHikwFjozV

https://www.etsi.org/deliver/etsi_en/301500_301599/301549/03.02.01_60/en_301549v030201p.pdf https://github.com/BIK-BITV/BIK-App-Test/tree/main/Pr%C3%BCfschritte/de

Personal Space

  • [ ] If the search at the top is not activated, only the buttons at the top of the page (see screenshot) can be accessed using the keyboard. image To access the other interactive elements on the page, you must activate the "X" button (see screenshot). However, you can then return to the top elements of the page, which is a limitation for users who use the keyboard. image

  • [ ] If you tap on a directory or file entry for a long time, a new page opens on which you have the option of selecting directories and files. Unfortunately, this option is not available to keyboard users. Furthermore, it is not immediately apparent to all users that that this option for selecting elements exists. image

Share

  • [ ] The "Back" button cannot be reached using the keyboard. image

Spaces

  • [ ] If the search at the top is not activated, only the top buttons on the page (see screenshot) can be accessed using the keyboard. image To access the other interactive elements on the page, you must activate the "X" button (see screenshot). However, you can then no longer return to the upper elements of the page, which is a limitation for users who use the keyboard. image

Manage accounts

  • [ ] The "Back" button cannot be reached using the keyboard. image

Image Viewer

  • [ ] The buttons at the top of the page cannot be focused or activated using the keyboard. They are invisible to keyboard users and only become visible when tapped on the screen. image

tschiebel avatar Apr 05 '24 12:04 tschiebel

Try to allign shortcuts in all clients (check iOS)

jesmrec avatar Apr 09 '24 11:04 jesmrec

Check https://github.com/owncloud/android/issues/4370

jesmrec avatar Apr 17 '24 10:04 jesmrec

  • If the search at the top is not activated, only the buttons at the top of the page (see screenshot) can be accessed using the keyboard. image To access the other interactive elements on the page, you must activate the "X" button (see screenshot). However, you can then return to the top elements of the page, which is a limitation for users who use the keyboard. image
  • If the search at the top is not activated, only the top buttons on the page (see screenshot) can be accessed using the keyboard. image To access the other interactive elements on the page, you must activate the "X" button (see screenshot). However, you can then no longer return to the upper elements of the page, which is a limitation for users who use the keyboard. image

Solved with the new keyboard navigation model (explained in https://github.com/owncloud/android/issues/4368#issuecomment-2231256774)

JuancaG05 avatar Jul 17 '24 10:07 JuancaG05

  • If you tap on a directory or file entry for a long time, a new page opens on which you have the option of selecting directories and files. Unfortunately, this option is not available to keyboard users. Furthermore, it is not immediately apparent to all users that that this option for selecting elements exists. image

Indeed, it is available for keyboard users as well. They just have to hold Enter for a moment (~1 second), just like a long press in touch mode. Then, the toolbar with the different options is reachable as well. Here I upload a video showing it, navigating through the app with a hardware keyboard:

https://github.com/user-attachments/assets/34ceed1a-02df-4c70-81fc-b50fdb53d526

About the gesture, it is one of the main gestures applied in every app in the mobile world. It is a very common UI design pattern, and it even appears as one of the main gestures in Material Design, the official and recommended Google design system for Android apps (which we try to follow as much as possible): https://m3.material.io/foundations/interaction/gestures#815e151c-d80c-45ab-8720-bc1c2f0191f5

As we can see, it always has the same function:

Users can access additional functionality by pressing on elements for an extended time.

Which we follow as well, so this shouldn't be considered a limitation.

JuancaG05 avatar Jul 17 '24 10:07 JuancaG05

  • The "Back" button cannot be reached using the keyboard. image

Done. The same action could be performed with the Esc key as well.

JuancaG05 avatar Jul 17 '24 12:07 JuancaG05

  • The "Back" button cannot be reached using the keyboard. image

The "Manage accounts" view has been moved to a dialog. We can exit this new dialog via pressing the "X" button to close it (which is focusable and thus reachable with the keyboard) or by pressing the Esc key.

JuancaG05 avatar Jul 17 '24 12:07 JuancaG05

  • The buttons at the top of the page cannot be focused or activated using the keyboard. They are invisible to keyboard users and only become visible when tapped on the screen. image

Due to technical restrictions because of the toolbar structure now in the preview activities (image and video), putting the focus on the toolbar (which is an ActionBar, a legacy Android API that we'll deprecate at some point -not in a trivial way- and that has no support for accessibility common issues, such as focus) is not possible right now. In any case, the actions in the preview toolbar are reachable in some other ways, for example clicking the 3-dot button in the corresponding row in the main file list, or with a long press to the corresponding row in the main file list and selecting the desired option in the toolbar. Since the Tab key had no function here, now it is used for the toolbar to appear.

JuancaG05 avatar Jul 18 '24 12:07 JuancaG05