[orca] Ensure we verbalize punctuation in selected text in ARIA code role



commit eed5747b9965cafbd23209044c1cc2cb842001cf
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Sun Apr 19 15:22:57 2020 -0400

    Ensure we verbalize punctuation in selected text in ARIA code role

 src/orca/scripts/default.py | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/src/orca/scripts/default.py b/src/orca/scripts/default.py
index 242ed33f0..e6264222f 100644
--- a/src/orca/scripts/default.py
+++ b/src/orca/scripts/default.py
@@ -3322,6 +3322,9 @@ class Script(script.Script):
 
             voice = self.speechGenerator.voice(string=phrase)
             phrase = self.utilities.adjustForRepeats(phrase)
+            if self.utilities.shouldVerbalizeAllPunctuation(obj):
+                phrase = self.utilities.verbalizeAllPunctuation(phrase)
+
             utterance = [phrase]
             utterance.extend(voice)
             speech.speak(utterance)


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