Skip to content

Reading line numbers does not work in Microsoft Word #20085

@Qchristensen

Description

@Qchristensen

Brief summary

With "Line numbers" set in NVDA's document formatting settings, line numbers are only read in Word when UIA is set to "Only when necessary".

Steps to reproduce

  1. Open Word to any document
  2. Press NVDA+control+d to open NVDA's document formatting settings
  3. Press alt+n to toggle reading "Line Numbers" (ensure this is checked).
  4. Press ENTER to apply and close.
  5. Use the up and down arrow keys to move between lines in the document.

Actual behavior

If Use UI Automation to access Microsoft Word is set to "Only when necessary" in NVDA's advanced settings, then line numbers are read.

If this is set to any other value, including the default "Where Suitable" then no line numbers are read.

Expected behavior

Line numbers should be read when "Line Numbers" is set in the document formatting setting.

NVDA logs, crash dumps and other attachments

No error recorded in the log

NVDA type

installed copy, portable copy

NVDA version

2026.1

Have you tried any other versions of NVDA? If so, please report their behaviors.

Latest alpha as at writing: alpha-55754,364c1095 (2026.2.0.55754) - Installed
NVDA 2025.3.3 (Portable)
NVDA 2024.4.2 (Portable)

It works exactly the same in all these versions, so I suspect it may be a change in Word.

Windows version

Windows 11 (64-bit) Version: 25H2, Build: 26200.8328

Name and version of other software in use when reproducing the issue

Office 365 (64-bit) Version: 16.0.19929.20106

Other information about your system

Also reported by a user in the NVDA User's Email group.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    api/uiaFeature or bug requires an understanding of UIAapp/microsoft-officebugcomponent/UIA-ms-officeSpecific to UIA used in MS office applications.p4https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#prioritytriagedHas been triaged, issue is waiting for implementation.

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions