File tree Expand file tree Collapse file tree
source/NVDAObjects/IAccessible Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# A part of NonVisual Desktop Access (NVDA)
2- # Copyright (C) 2006-2022 NV Access Limited, Babbage B.V.
2+ # Copyright (C) 2006-2023 NV Access Limited, Babbage B.V.
33# This file is covered by the GNU General Public License.
44# See the file COPYING for more details.
55
@@ -1688,7 +1688,7 @@ def event_valueChange(self):
16881688 return
16891689 return super (IAccessible , self ).event_valueChange ()
16901690
1691- def event_alert (self ):
1691+ def event_alert (self ) -> None :
16921692 if self .role != controlTypes .Role .ALERT :
16931693 # Ignore alert events on objects that aren't alerts.
16941694 return
@@ -1702,9 +1702,11 @@ def event_alert(self):
17021702 if self in api .getFocusAncestors ():
17031703 return
17041704 speech .speakObject (self , reason = controlTypes .OutputReason .FOCUS , priority = speech .Spri .NOW )
1705+ braille .handler .message (braille .getPropertiesBraille (name = self .name , role = self .role ))
17051706 for child in self .recursiveDescendants :
17061707 if controlTypes .State .FOCUSABLE in child .states :
17071708 speech .speakObject (child , reason = controlTypes .OutputReason .FOCUS , priority = speech .Spri .NOW )
1709+ braille .handler .message (braille .getPropertiesBraille (name = self .name , role = self .role ))
17081710
17091711 def event_caret (self ):
17101712 focus = api .getFocusObject ()
You can’t perform that action at this time.
0 commit comments