[orca] Don't treat focus-mode widgets as labeling contents, even if they are
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Don't treat focus-mode widgets as labeling contents, even if they are
- Date: Wed, 24 Apr 2019 20:10:20 +0000 (UTC)
commit efd5e67380c6ce5b05e45011c1876bde8b2539a7
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Wed Apr 24 16:09:14 2019 -0400
Don't treat focus-mode widgets as labeling contents, even if they are
Doing so can cause us to be silent.
src/orca/scripts/web/script_utilities.py | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/src/orca/scripts/web/script_utilities.py b/src/orca/scripts/web/script_utilities.py
index c54bcdef3..61a45a62c 100644
--- a/src/orca/scripts/web/script_utilities.py
+++ b/src/orca/scripts/web/script_utilities.py
@@ -2635,6 +2635,9 @@ class Utilities(script_utilities.Utilities):
return None
def isLabellingContents(self, obj, contents=[]):
+ if self.isFocusModeWidget(obj):
+ return False
+
targets = self.labelTargets(obj)
if not contents:
return bool(targets)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]