Chrome with UI Automation: comma can remain on the final nested list item instead of moving past the container

Open
#20,971 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
32/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
html, python
Domain
accessibility

Research direction

The bug sits in NVDA's UI Automation browse-mode handling for Chromium, so start from the comma (move past container) navigation path and the UIA text-range traversal used when leaving a list. Reproduce with the attached uia-container-minimal page, using the eight routes listed in the steps. Done means comma from the outer list lands on the "After unordered list" button and the other three lists behave the same, with the IAccessible2 path unchanged.

Written by the indexing model from the issue text.

Description

api/uia app/chrome p4 triaged
Brief summary

In browse mode with Chromium accessed through UI Automation, moving past the end of a list can leave NVDA reading the list's final nested item instead of the content immediately after the outer list.
This is reproduced with unchanged official NVDA source, including ordinary unordered/ordered lists and description lists.
The equivalent IAccessible2 navigation works.

Steps to reproduce

These keyboard steps have been verified against the unchanged official source and the attached page:

  1. Extract the uia-container-minimal.zip and open its standalone HTML reproduction page in Google Chrome or MS Edge.
  2. In NVDA Settings, open Advanced, acknowledge the warning about changing advanced settings, and set Use UI Automation to access Microsoft Edge and other Chromium based browsers to Yes.
    Apply the change, close/reopen the test browser, and reopen the page.
  3. Ensure NVDA is in browse mode, not focus mode; use NVDA+Space if necessary.
  4. Press Control+Home, then 2 to reach the “Unordered list” level-two heading.
  5. Press L once to enter the outer list at “Alpha unordered”.
  6. Press comma once to move past that container.
  7. Check speech and braille.
    The intended destination is “After unordered list”, the button immediately following the outer list.
  8. As an additional case, repeat steps 4–5, press L again to enter the nested list, then Shift+L to return to the outer list before pressing comma.
  9. Repeat from the other level-two headings: “Ordered list”, “Description list” and “Wrapped description list”.
    The corresponding destination buttons are named “After ordered list”, “After description list” and “After wrapped list”.
  10. Repeat with the Chromium UIA option set to No, using a newly opened browser instance, for the IAccessible2 comparison.
    Restore the original option afterwards.
Actual behavior

With official NVDA 2027.1.0dev at c22a509337c0b94ac5459ab2a749eeeb9cb06116 and UIA enabled, all eight routes read the last nested item instead of the following button.

Expected behavior

Comma should move past the enclosing container and report the first following readable content, preserving its first character and control.
For the first attached example, it should reach the “After unordered list” button rather than “Last nested unordered item”.

NVDA logs, crash dumps and other attachments

Attached is a standalone HTML page reproducing the issue. Extract the ZIP and open the page in Chrome. It requires no scripts, server or Internet connection.

NVDA type

source copy

NVDA version

NVDA 2027.1.0dev at c22a509337c0b94ac5459ab2a749eeeb9cb06116

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

2026.2 (2026.2.0.57664)

Windows version

Version 10.0.26200 Build 26200

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

No response

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

Dominant language
Python
Stars
2.7k
Forks
842
Avg merge
2d 4h
Merged PRs (30d)
56

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nvaccess/nvda

All issues in nvaccess/nvda

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.