Add tests for navigation in browse mode documents and improve tests for textInfo #16578
Labels
audience/a11y-tester
Accessibility Testers
audience/nvda-dev
PR or issue is relevant to NVDA / Add-on developers
p5
https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority
triaged
Has been triaged, issue is waiting for implementation.
Is your feature request related to a problem? Please describe.
Features related to navigation paterns in Browse mode documents might introduce scripts to move the virtual cursor to specific parts of a document. This usually relies on internal and external textInfo related functions. In such cases, NVDA will use textInfo and will analyse the document character by character to find the desired location where the cursor should be moved to.
However, in many cases textInfo will not be able to provide the correct function so the navigation will fail. This might also be related to external issues where the software does not provide the correct definition of characters, words, paragraphs, boundaries, etc. Also scrolling might fail while navigating by certain paterns.
Also NVDA tries to report the whole element when the virtual cursor lands on it, no matter how much content the element has. However, the purpose of the quick navigation paterns in browse mode is to provide more efficiency, so there should be a limit of how much content of an element needs to be sent to the synthesizer.
Problems identified so far:
Text style navigation
Text paragraph navigation
Vertical indent paragraph navigation
Other problems
Describe the solution you'd like
Manual testing
Develop a manual testing template for browse mode documents including:
Describe alternatives you've considered
Automated testing
Develop a robot to perform all steps like in the referenced issues above, maybe the provided test case documents could be used for the robot to perform the tests.
Additional context
Adding new features to the browse mode of NVDA can be tricky and very complex due to the various level of browse mode support in different applications. In order to avoid unexpected issues, such features need extensive testing before being accepted into the core.
The text was updated successfully, but these errors were encountered: