nvda
e2d464f5 - Fix scrolling to anchor links pointing to the object containing the virtual caret (#17676)

Commit
1 year ago
Fix scrolling to anchor links pointing to the object containing the virtual caret (#17676) Fixes #17669 Summary of the issue: When anchor links point to the objec where the virtual caret is placed, NVDA doesn't scroll to the link destination. Description of user facing changes NVDA Will scroll to destination of anchor links, even where they point to the object where the virtual caret is placed. Description of development approach In the _handleScrollTo function of source/browseMode.py, we check if the caret is placed in the same line as the anchor link destination, instead of checking if it's in the same object. This has been explained and suggested by @jcsteh in #17669.
Author
Parents
Loading