-
-
Notifications
You must be signed in to change notification settings - Fork 654
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If a textInfo fetches text that isn't obtainable through an objects properties, return true on braille.NVDAObjectHasUsefulText regardless of if it is navigable or not #15605
Comments
There is
If READONLY state would be allowed here or added in suggestion to change I tested suggested change locally, and if I understood correctly what should be changed, it solved sasm help window problem. It had side effect (braille did not display list item) at least in thunderbird message list but additional limitation like state or role would solve that. |
Did you try to scroll the braille display back in the thunderbird list? I think it then should display the list item. What about adding a setting for it, in case it breaks old behavior? |
Yes it shows list item when scrolling back (I had not noticed that). But if adding something like this in your suggestion: More generic question is that should not objects with state of read only be navigable with braille? If so, then where to allow this, in |
I think it works to add it in _get__hasNavigableText. I don't think it should be limited when the content in obj.basicText is not equal to the text retreaved by the text info. What if there is an obscure case where a braille user can't get relevent information because NVDA thinks the object is not navigable? Another possibillity is to add a gesture that makes the current object displayed on the braille display navigable, or display the text info content in a browseable message. In this way, the new functionality will not break old behavior at all |
There may be side effects if changing What if I open pull request with |
Or of course if you prefer to open pull request, it is fine and I do nothing. |
It is fine for me if you do it. I am new to github and are not quite shure how to do it yet |
fixes #15605 Summary of the issue: Although object contains useful text, and it is navigable with review cursor, all these objects are not handled as navigable objects in braille. Description of user facing changes Users who use merely braille can read content of more objects. Description of development approach Modified braille.NVDAObjectHasUsefulText function.
Is your feature request related to a problem? Please describe.
As NVDA works now, if a textInfo fetches text that isn't obtainable through an objects properties, such as name, value, description, etc, and the object isn't navigable or use the display model text info, a user who only uses braille can't read this text, because the braille display will only show it if the object is one of these
Describe the solution you'd like
In NVDAObjectHasUsefulText, Make a text info from obj that uses POSITION_ALL, then check if this textInfos text is equal to obj.name or obj.description. If it is not, and the text info isn't NVDAObjectTextInfo, return True
Describe alternatives you've considered
Additional context
For an example where this is a problem, download the SASM edditor, open it and press f1 to open the help document. The object where the focus lands reports as a window, but you can read the contents of the window with the review cursor. There is no other way to read the content, so a braille user can't get the information because NVDA reports the object as window
The text was updated successfully, but these errors were encountered: