Steps to reproduce:
In various modern UIA text providers (notepad with UIA forceably enabled with nav.appModule.isGoodUIAWindow = lambda hwnd: True in console), an upcoming/private build of conhost, and Word/Edgium with UIA enabled):
- Navigate to the last line of text with the review cursor.
- Attempt to move to the next line of text.
Actual behavior:
The review cursor is moved to the end of the current line, and "bottom" is not announced. Technical: UIATextInfo.move (IUIAutomationTextRange::move) returns 1.
Expected behavior:
"bottom" is announced.
Context:
It seems that, per Microsoft Word's behaviour (other UIA providers are copying this): when moving a degenerate (collapsed) range past the end of the document, the correct UIA behaviour is to permit the move and move to the end of the requested unit, whereas expanded ranges should not permit the move when attempting to go past the end. Is this correct UIA behaviour (the docs seem unclear) and therefore an NVDA bug, or are providers incorrectly implementing this (so I should raise it upstream)? Cc @csauls, @michaelDCurran and @LeonarddeR.
Steps to reproduce:
In various modern UIA text providers (notepad with UIA forceably enabled with
nav.appModule.isGoodUIAWindow = lambda hwnd: Truein console), an upcoming/private build of conhost, and Word/Edgium with UIA enabled):Actual behavior:
The review cursor is moved to the end of the current line, and "bottom" is not announced. Technical:
UIATextInfo.move(IUIAutomationTextRange::move) returns 1.Expected behavior:
"bottom" is announced.
Context:
It seems that, per Microsoft Word's behaviour (other UIA providers are copying this): when moving a degenerate (collapsed) range past the end of the document, the correct UIA behaviour is to permit the move and move to the end of the requested unit, whereas expanded ranges should not permit the move when attempting to go past the end. Is this correct UIA behaviour (the docs seem unclear) and therefore an NVDA bug, or are providers incorrectly implementing this (so I should raise it upstream)? Cc @csauls, @michaelDCurran and @LeonarddeR.