-
-
Notifications
You must be signed in to change notification settings - Fork 646
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
Formatting in Word: style is not properly reported in some cases with UIA enabled #11427
Comments
@Andre9642 this issue does not occur if UIA Support in Word is disabled. Is this correct? |
@Adriani90 Yes, absolutely. |
Also NVDA doesn't read any line or para info for me when UIA is enabled. Works as expected without UIA. |
Technical: |
@michaelDCurran In this case, I would prefer not to include the style since it is unknown. "mixed" seems vague to me. Out of curiosity I tested with JAWS (version 2021.2107.12, UIA in Word enabled), here are the results: My original line (link): From position 1 to -1 ("
At position 0 ('h'):
For the reference, with NVDA we get: From position 0 to -2 ("
At position -1 ('/'):
|
Note that also the foreground color is not available for this last character of the link. But on the contrary to style, the information is just omitted. |
@michaelDCurran versions of this can still be replicated in Word (365 and 2019, at least), as recently asked about on an NVDA users list. I can replicate it with UIA on, entering/pasting a link, and navigating back up to the line with the link on it. UIA off reports this as style If the only options are what you describe above, then my vote is for style mixed. Unknown is untrue, since in non-UIA mode it is knowable. |
I have reported the problem to Microsoft accessibility help desk, and have also attached the link of this thread to the supporting staff. |
Happy for a PR to improve the UX of the failure, reporting "unknown" rather than the object string would be better. This would only be until the issue can be fixed in MS word. |
@feerrenrut In that case, how about omitting the style information? For instance, when alignment info is not available nothing is reported |
Steps to reproduce:
Several ways to reproduce this, here's one:
Actual behavior:
Something like "style <POINTER(IUnknown) ptr=0x5d9bbd24 at 52462b0>" is reported.
Expected behavior:
The correct style should be reported (in this case 'Normal').
System configuration
NVDA installed/portable/running from source:
Installed
NVDA version:
alpha-20601,3a9484fb
Windows version:
10 Insider (64-bit) build 20175.1000
Name and version of other software in use when reproducing the issue:
Microsoft Office Word 16.0.13001.20384
Other information about your system:
UIA enabled
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.
Not tested
If addons are disabled, is your problem still occuring?
Yes
Did you try to run the COM registry fixing tool in NVDA menu / tools?
Yes
The text was updated successfully, but these errors were encountered: