[orca] Don't call default script's Say All progress callback for web content



commit 51ede007ed773664d2cae71691e673fea5400b64
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Thu Jul 25 15:48:03 2019 -0400

    Don't call default script's Say All progress callback for web content
    
    The default script doesn't know how to deal with web content. Thus we
    don't want to use it even when in focus mode.

 src/orca/scripts/web/script.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/orca/scripts/web/script.py b/src/orca/scripts/web/script.py
index 183c568a4..45654cdb0 100644
--- a/src/orca/scripts/web/script.py
+++ b/src/orca/scripts/web/script.py
@@ -725,7 +725,7 @@ class Script(default.Script):
         return True
 
     def __sayAllProgressCallback(self, context, progressType):
-        if not self.utilities.inDocumentContent() or self._inFocusMode:
+        if not self.utilities.inDocumentContent():
             super().__sayAllProgressCallback(context, progressType)
             return
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]