[orca] Fall back on real active descendant when creating zones
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Fall back on real active descendant when creating zones
- Date: Tue, 24 Apr 2018 23:13:27 +0000 (UTC)
commit 2f02aa136c00a79f968b11408c0e41289571a159
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Tue Apr 24 19:12:55 2018 -0400
Fall back on real active descendant when creating zones
src/orca/flat_review.py | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/flat_review.py b/src/orca/flat_review.py
index 595c231..6ce660e 100644
--- a/src/orca/flat_review.py
+++ b/src/orca/flat_review.py
@@ -817,6 +817,11 @@ class Context:
for o in objs:
zones = self.getZonesFromAccessible(o, boundingbox)
if not zones:
+ descendant = self.script.utilities.realActiveDescendant(o)
+ if descendant:
+ zones = self.getZonesFromAccessible(descendant, boundingbox)
+
+ if not zones:
continue
allZones.extend(zones)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]