eclipse.platform.ui icon indicating copy to clipboard operation
eclipse.platform.ui copied to clipboard

Accessibility: Navigating through Controls with Tab does autoscroll to the Viewer with Focus

Open GuilhermeSaraiva96 opened this issue 1 year ago • 2 comments

Let's make sure issue is not already fixed in latest builds first.

Steps to reproduce

From a fresh installation and clean workspace: I created a Plugin Project.

I tried

  1. Navigated to the Extensions Tab within the MANIFEST.
  2. Added enough random extensions so that when making the window smaller, the Tree Viewer would have a scroll bar.
  3. Set the Selection the last extension in the viewer.
  4. Scroll up so that the selection is not visible anymore.
  5. Navigating through each of the controls is possible using Tab or Shift+Tab. Navigate to the Filter Text Control above the Viewer (Shift+Tab for me). The Text Control should have gotten Focus.
  6. Make the window as small as possible till you can't see the viewer anymore.
  7. Click Tab

I expected: Focus is returned to the Viewer Control. There is autoscrolling so that the element in focus remains always in view. Since there are 2 scrollbars in this example (from the editor and from the viewer), both must be autoscrolled so that the focus control is in view, but also the selection within the control.

But got: Focus does get returned to the Viewer Control, but this is not visible until I scroll down to reveal the viewer and indeed it has focus.

Video: https://sap-my.sharepoint.com/:v:/p/guilherme_saraiva/EaHGXdtkUt5DktiwDpSvrx8B6iRTKbVw_OYc_lxLMhp8Tw?e=FjNILy&nav=eyJyZWZlcnJhbEluZm8iOnsicmVmZXJyYWxBcHAiOiJTdHJlYW1XZWJBcHAiLCJyZWZlcnJhbFZpZXciOiJTaGFyZURpYWxvZy1MaW5rIiwicmVmZXJyYWxBcHBQbGF0Zm9ybSI6IldlYiIsInJlZmVycmFsTW9kZSI6InZpZXcifX0%3D

Why this is important

At SAP we have several use cases in which the Editor has a Tree Viewer with Selection Detail at the bottom, and one needs to scroll down to see it (simulated by making the window smaller above). Navigating with the Tab Key improves usability and contributes to an inclusive design, thus why it would be important that this feature works flawlessly.

If you have any tips on where the related code could be found, I would very much appreciate it as a starting point for me as well

Community

  • [X] I understand reporting an issue to this OSS project does not mandate anyone to fix it. Other contributors may consider the issue, or not, at their own convenience. The most efficient way to get it fixed is that I fix it myself and contribute it back as a good quality patch to the project.

GuilhermeSaraiva96 avatar Jun 16 '24 22:06 GuilhermeSaraiva96

This happens und Windows an macOS, doesn't it?

BeckerWdf avatar Jun 17 '24 06:06 BeckerWdf

Yes, this happens under Windows and macOS

wurzka avatar Jun 17 '24 07:06 wurzka