nvaccess / nvda

NVDA, the free and open source Screen Reader for Microsoft Windows
https://www.nvaccess.org/
Other
2.1k stars 634 forks source link

in a java application with a list of tabs in multiple lines it is not possible to know the existence of the items in several lines #9940

Open fernando-jose-silva opened 5 years ago

fernando-jose-silva commented 5 years ago

Steps to reproduce:

In a java application that I need to use at work there is a list of tabs. This list of guides have guides going to the right and left and down and down. When placing the focus on this list of guides nvda does not inform the amount of items and does not inform that there are items walking to the right and left, and to the bottom and bottom.

Actual behavior:

nvda only reports items within this list.

Expected behavior:

in this type of control where we have items in all directions, down and down, and items left and right, the nvda should count the number of items, and if possible inform that there are navigable items in all directions, for sima and down, and to the right and left. I was not able to complete an activity because I did not know that navigating with arrows to the bottom and down would find more items.

System configuration

NVDA installed/portable/running from source:

install

NVDA version:

alfa 18064

Windows version:

10 17763

Name and version of other software in use when reproducing the issue:

aplication java

Other information about your system:

Other questions

Does the issue still occur after restarting your PC?

yes

Have you tried any other versions of NVDA? If so, please report their behaviors.

no log: guias.txt

in the log can have the type of the control.

LeonarddeR commented 5 years ago

I'm afraid we are unable to fix this without access to the application. It is most likely that this is caused either by a problem in the application or a limiation of the access bridge.

mwhapples commented 1 year ago

The count of tabs should be given using NVDA 2022.3.1, does that work for the app mentioned? To know about tabs up, down, left and right, I don't think there is anything NVDA can do to get that information based on the information provided. To have access to an example app would help to confirm whether navigation direction can be obtained. I suggest closing this unless an example we can use can be provided.

fernando-jose-silva commented 1 year ago

thank you very much now confirm that it is possible to know the item number within the tab list. As for informing the user that it is possible to browse the list of tabs even with the up and down arrows, there is nothing new, since when the ticket was opened, access to the Java application is still impossible.

mwhapples commented 1 year ago

I may have found an example for tabs where navigation is needed up and down cursor. In the JDK demo app swingset2 on the tabbed pane example if you select left or right radio button you must navigate up and down. In this example navigation is only ever horizontal or vertical, never both. However I can look at the source code for this example and see if a both option is possible. I will take a look to see if (java Access Bridge exposes anything about vertical navigation for tabs.

mwhapples commented 1 year ago

Based on what I find with the JDK demo swigset2 application, I do not find anything which will tell NVDA when you should navigate tabs up and down or left and right. The only way I think we could possibly determine this would be to check each tab in the tab list and compare the position. Whether this would be reliable I do not know. Also this may have a performance hit as we would need to query object positions for multiple objects. I do not feel I could recommend that approach. Do we want to keep this open or close it? The user would be aware of other tabs as the count tells them there are more tabs than they have found which may be a hint to try up/down navigation. Also whether any other UI toolkit/accessibility API provides this information, I am not aware of such a case, so Java would be equal to other UI toolkits.

Adriani90 commented 4 months ago

Closing this one as can't fix as there is no approach which would deliver a bullet proof solution. Tab controls are always navigable by left and right arrow, or by ctrl+tab or ctrl+shift+tab. I didn't find any application UI where vertical navigation through tab controls is working, unless you are in browse mode. If anyone has oposite suggestions, please comment and we can reopen.

mwhapples commented 4 months ago

Closing this one as can't fix as there is no approach which would deliver a bullet proof solution. Tab controls are always navigable by left and right arrow, or by ctrl+tab or ctrl+shift+tab. I didn't find any application UI where vertical navigation through tab controls is working, unless you are in browse mode. If anyone has oposite suggestions, please comment and we can reopen.

Well, there is an example application which you can access which only has vertical navigation between tabs (IE. needs up/down cursor). Please actually read my previous comments on this issue where I discuss the example in the JDK demos and the SwingSet2. OK, that is a demo application, but it shows Java Swing allows for vertical navigation tabs and may be there are applications out there which do use this feature, it would be perfectly valid for them to do so.