nvda icon indicating copy to clipboard operation
nvda copied to clipboard

Word 365: do not announce font attribute toggle messages if raised from UIA notification event

Open josephsl opened this issue 4 years ago • 59 comments

Link to issue number:

Fixes #10950

Summary of the issue:

In recent Word 365 releases, NVDA will announce font attribute toggle message up to two times - a message defined by NVDA ,and a second time thanks to UIA notification event.

Description of how this pull request fixes the issue:

Builds on an earlier work on Word 365 UIA notification event suppression (#10851):

  • Adds a dedicated list in UIA.WordDocument class listing activity ID's NVDA should ignore.
  • Adds AccSN1, the activity Id for font attribute toggle messages.

Testing performed:

Tested to make sure font attribute toggle messages are announced only once with Word 365, and verified that there was no regression with previous work on Word 365 fix.

Known issues with pull request:

None

Change log entry:

Nothing to add, but if a what's new entry should be provided, a wording similar to #10851 is ideal, this time talking about font attribute toggle commands such as toggling bold.

Thanks.

Summary by CodeRabbit

  • Bug Fixes
    • Improved handling of Word 365 notifications to prevent unnecessary announcements for specific edit functions, enhancing the user experience by reducing noise.

josephsl avatar Apr 13 '20 01:04 josephsl