Skip to content

NVDA can't access context menus opened on some links/images in Edge, even when Narrator can #15309

@XLTechie

Description

@XLTechie

Steps to reproduce:

  1. Open Microsoft Edge
  2. Browse to, for example, ebary.com
  3. Press t to go to the first table, then k to go to the second link (which is probably also a graphic).
  4. Press Applications or shift+F10

Actual behavior:

NVDA speaks the page title and the link, but does not speak the first context menu item.

Note that this does not always happen--sometimes, with no apparent reason, NVDA will send focus to the context menu. Other times it won't.

Expected behavior:

NVDA should always focus the context menu.
Narrator does.
In fact, if you try this and NVDA doesn't speak the menu, turning on Narrator simultaneously will rectify the problem, and NVDA is able to see the menu.

Further context

This has been reported on mailing lists for a few months now. I'm not sure why I can't find an issue for it here, as I thought we had one, but I can only find the Edge context menu not opening for the downloads area issue, which @LeonarddeR has a PR to fix now.

NVDA logs, crash dumps and other attachments:

In the attached log, the first time I try to open a context menu, it fails. From the log, it appears that it starts to read the menu, but is then redirected to the virtual buffer.

Then I try with the next link NVDA takes me to, which also fails, but differently. The second one fails, I believe, because while NVDA is reading the virtual buffer and claiming the page is what I'm navigating, in fact the context menu is open, and that's actually what I'm navigating.

The third link does the same thing, but then I press escape, and try to open the context menu on the third link again. This time it succeeds.

bad_context_edge.txt

System configuration

NVDA installed/portable/running from source:

Installed, but have tried portables and PR builds as temporaries, with the same effect.

NVDA version:

alpha-28879,a7981cad

Windows version:

Microsoft® Windows® Operating System version 10.0.22621.1
(This is 11 Home 22H2, but the same thing happened on 10 Home 22H2)

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

Microsoft Edge version 115.0.1901.203
(But happened as far back as 113, AFAIK)

Other information about your system:

Other questions

Does the issue still occur after restarting your computer?

Yes

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

Alphas and productions as far back as 2023.1, maybe even pre-2023.1 versions. This is something Edge introduced, I don't believe it's an NVDA change.

If NVDA add-ons are disabled, is your problem still occurring?

Yes

Does the issue still occur after you run the COM Registration Fixing Tool in NVDA's tools menu?

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions