[orca] Filter out hidden elements when presenting content
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Filter out hidden elements when presenting content
- Date: Tue, 24 Nov 2015 05:17:40 +0000 (UTC)
commit 84a6f9d608d9b5ffa9e571d6f40eb15f11a10811
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Tue Nov 24 00:11:47 2015 -0500
Filter out hidden elements when presenting content
src/orca/scripts/web/script_utilities.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/scripts/web/script_utilities.py b/src/orca/scripts/web/script_utilities.py
index f8ad939..b8db606 100644
--- a/src/orca/scripts/web/script_utilities.py
+++ b/src/orca/scripts/web/script_utilities.py
@@ -1761,6 +1761,7 @@ class Utilities(script_utilities.Utilities):
if (self.isTextBlockElement(obj) and not string.strip()) \
or self.isAnchor(obj) \
or (self.hasNoSize(obj) and not string.strip()) \
+ or self.isHidden(obj) \
or self.isOffScreenLabel(obj) \
or self.isUselessImage(obj) \
or self.isLabellingContents(x, contents):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]