Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When UIA is used for contecst menus in Word 2010 some items are reported twice. #9252

Closed
lukaszgo1 opened this issue Feb 7, 2019 · 6 comments · Fixed by #9259 or #10981
Closed

When UIA is used for contecst menus in Word 2010 some items are reported twice. #9252

lukaszgo1 opened this issue Feb 7, 2019 · 6 comments · Fixed by #9259 or #10981

Comments

@lukaszgo1
Copy link
Contributor

Steps to reproduce:

  1. Open Word 2010 using latest NVDA Alpha.
  2. Open context menu,, and start navigating with the arrow keys.

Actual behavior:

Some items are reported properly but some in a wrong way for example:

  • Copy, cut and some other items are announced twice that is 'cut unavailable cut ctrl+x'
  • the synonyms and styles are announced as 'synonyms collapsed menu item synonyms'

Expected behavior:

They should be announced only once.

System configuration

NVDA installed/portable/running from source:

Installed

NVDA version:

alpha-16709,e51645d0

Windows version:

Windows 7 x64

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

Word 2010 32-bit

Other information about your system:

Other questions

Does the issue still occur after restarting your PC?

Yes

Have you tried any other versions of NVDA?

Yes 2018.3 works ok.
i believe it is caused by the fact that NVDA now uses UIA for these menus cc @michaelDCurran

@Adriani90
Copy link
Collaborator

Is uia not only for word 2016?

@lukaszgo1
Copy link
Contributor Author

UIA is used only for Word 2016 when we are talking about accessing the documents content, but context menu can be accessed with UIA in older versions of MS Word also. I am not sure if this was intentional.

@LeonarddeR
Copy link
Collaborator

cc @michaelDCurran
I've been able to reproduce this with Office 2016 when right clicking on misspelled words.

@lukaszgo1
Copy link
Contributor Author

As discussed in #9259 it isn't fixed. Can someone reopen?

@Adriani90 Adriani90 reopened this Mar 1, 2019
@Adriani90
Copy link
Collaborator

I am not sure if this is related to UIA. But anyway I am able to reproduce this issue in Word 2010.

@michaelDCurran michaelDCurran removed this from the 2019.1 milestone Mar 27, 2019
@lukaszgo1
Copy link
Contributor Author

I've just discovered that when UIA is used for treeview in the options of MS Excel in which you can enable or disable sections of ribbon state of them isn't announced. Previously it was very easy to get to them with object nav - the appropriate checkbox was directly below an item, but now with UIA used for them it is no longer possible.
Any chance for a fix?

feerrenrut pushed a commit that referenced this issue May 1, 2020
… Office 2013 and prior (PR #10981)

Now in Office 2013 and older:

- Ribbons are announced when focus moves to them for the first time.  (#4207)
- Context menu items are once again reported properly. (#9252)
- Ribbon sections are consistently announced when navigating with Control+arrows. (#7067)

IAccessible is used for these controls for Office <=2013.
To do that it has been necessary to workaround some IAccessible specific issues:
- Status bar is not exposed as such #4257
- Ribbon sections do not have proper role.

In both cases AccValue contains non localized description of the control which made it possible to workaround them.
@nvaccessAuto nvaccessAuto added this to the 2020.1 milestone May 1, 2020
@feerrenrut feerrenrut modified the milestones: 2020.1, 2020.2 May 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment