[orca] Eliminate double-presentation of link role with line break char
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Eliminate double-presentation of link role with line break char
- Date: Fri, 10 May 2019 12:25:53 +0000 (UTC)
commit 885b12024eefd7f1d94e92137171f284913ee813
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Fri May 10 14:24:25 2019 +0200
Eliminate double-presentation of link role with line break char
src/orca/scripts/web/script_utilities.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/orca/scripts/web/script_utilities.py b/src/orca/scripts/web/script_utilities.py
index e74e1d832..26ded036c 100644
--- a/src/orca/scripts/web/script_utilities.py
+++ b/src/orca/scripts/web/script_utilities.py
@@ -2268,7 +2268,7 @@ class Utilities(script_utilities.Utilities):
return rv
rv = True
- if (self.isTextBlockElement(obj) and not string.strip()) \
+ if ((self.isTextBlockElement(obj) or self.isLink(obj)) and not string.strip()) \
or self.isEmptyAnchor(obj) \
or (self.hasNoSize(obj) and not string.strip()) \
or self.isHidden(obj) \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]