Repository navigation
Description
Brief summary
Classic Outlook with UIA reads the first line when navigating past the last line or pressing Ctrl+End
Steps to reproduce
- Use classic Outlook for Microsoft 365 and NVDA.
- In NVDA's Advanced settings, set "Use UI Automation to access Microsoft Word document controls" to "Always". The issue also occurs when "Where suitable" selects UIA for Outlook.
- Open an HTML message whose final paragraph contains enough text to wrap onto several visual lines, with no separate blank paragraph afterwards, using browse mode. Both A-single-wrapped-paragraph.msg and C-text-split-into-three-paragraphs.msg reproduce the issue.
- Ensure the final paragraph wraps onto several visual lines in the Outlook window.
- Move down through the message until the final visual line is reached, then press Down Arrow again.
- Move elsewhere in the message and press Control+End.
- Compare the announcement with the read-current-line command and with Up/Down Arrow navigation.
Actual behavior
At the final visual line of the message, pressing Down Arrow announces an earlier visual line of the final paragraph instead of repeating the final line. Control+End also announces an earlier line rather than the final line.
This does not affect every HTML message. Sample message tests showed:
- A single long paragraph: both commands announce the first line of the message.
- The same text followed by a separate blank paragraph: both commands correctly announce blank.
- Text divided into three paragraphs: the issue still occurs within the final paragraph. NVDA reads the final visual line as "MESSAGE.", but another Down Arrow or Control+End announces an earlier line beginning "Down Arrow key, and compare the spoken line."
Reading the current line can still announce the correct final line. Setting Word UIA access to "Only when necessary" restores the expected Down Arrow behavior.
Expected behavior
Down Arrow at the end of the message should continue to announce the final line. Control+End should move the caret to the end and announce that line. If the message ends with a blank paragraph, announcing blank is obviously correct.
I could not find a similar issue that targets this in particular, only ones that were slightly related. I have a locally tested fix and can submit a pull request.
NVDA logs, crash dumps and other attachments
Log excerpt from installed NVDA captures all three sample message tests and confirms that UIA was in use. The sample messages contain harmless test text, also attached. These are .msg files, so cano open directly in Outlook (Classic).
outlook-uia-sample-no-addons.log
A-single-wrapped-paragraph.msg
B-same-text-plus-blank-paragraph.msg
C-text-split-into-three-paragraphs.msg
NVDA type
installed copy
NVDA version
2026.3rc1 (2026.3.0.58160)
Have you tried any other versions of NVDA? If so, please report their behaviors.
No response
Windows version
*Windows 11 26H2 (AMD64) build 26300.9711
Name and version of other software in use when reproducing the issue
Microsoft® Outlook® for Microsoft 365 MSO (Version 2609 Build 16.0.20430.20032) 64-bit
Other information about your system
No response
Does the issue still occur after restarting your computer?
I have restarted my computer and the issue still occurs
If NVDA add-ons are disabled, is your problem still occurring?
I have restarted NVDA with add-ons disabled and the issue still occurs
Does the issue still occur after you run the System Accessibility Repair Tool (COM Registration Fixing Tool in older versions) in NVDA's tools menu?
I have run the System Accessibility Repair Tool and the issue still occurs
Activity