[orca] Prevent repetition of lines during SayAll for web content
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Prevent repetition of lines during SayAll for web content
- Date: Fri, 17 Jan 2020 15:43:17 +0000 (UTC)
commit a1154ccb37a8e587d7ce3b2383a06e9fb1ef840d
Author: Joanmarie Diggs <joanmarie diggs gmail com>
Date: Fri Jan 17 10:40:11 2020 -0500
Prevent repetition of lines during SayAll for web content
src/orca/scripts/web/script.py | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/src/orca/scripts/web/script.py b/src/orca/scripts/web/script.py
index fa91b3bc7..4d32d5d62 100644
--- a/src/orca/scripts/web/script.py
+++ b/src/orca/scripts/web/script.py
@@ -596,6 +596,9 @@ class Script(default.Script):
continue
obj, startOffset, endOffset, text = content
+ if startOffset == endOffset:
+ continue
+
if self.utilities.isLabellingContents(obj):
continue
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]