Skip to content

Commit

Permalink
Enable NVDA's alert event for all class names, including EVENT_SYSTEM…
Browse files Browse the repository at this point in the history
…_ALERT, fixing accessibility for the zoom chat notification system among other things in zoom. fixes nvaccess#7754
  • Loading branch information
derek riemer committed Jul 9, 2018
1 parent f2cc115 commit 3a4e6df
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions source/eventHandler.py
Expand Up @@ -252,8 +252,9 @@ def shouldAcceptEvent(eventName, windowHandle=None):
if eventName == "reorder":
# Prevent another flood risk.
return wClass == "TTrayAlert" # #4841: Skype
if eventName == "alert" and winUser.getClassName(winUser.getAncestor(windowHandle, winUser.GA_PARENT)) == "ToastChildWindowClass":
# Toast notifications.
if eventName == "alert":
###7754: Accept alerts from zoom.
#This also announces alerts for things like toast notifications.
return True
if eventName in ("menuEnd", "switchEnd", "desktopSwitch"):
# #5302, #5462: These events can be fired on the desktop window
Expand Down

0 comments on commit 3a4e6df

Please sign in to comment.