[orca] Treat headings as large objects regardless of size
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Treat headings as large objects regardless of size
- Date: Thu, 29 Mar 2018 18:06:56 +0000 (UTC)
commit 57da5cbd163237f7e5881065f10ecc599c676376
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Thu Mar 29 14:05:32 2018 -0400
Treat headings as large objects regardless of size
src/orca/structural_navigation.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/structural_navigation.py b/src/orca/structural_navigation.py
index 53b6f5c..25c930b 100644
--- a/src/orca/structural_navigation.py
+++ b/src/orca/structural_navigation.py
@@ -1671,7 +1671,7 @@ class StructuralNavigation:
if role not in self.OBJECT_ROLES:
return False
- if role == pyatspi.ROLE_ARTICLE:
+ if role in [pyatspi.ROLE_ARTICLE, pyatspi.ROLE_HEADING]:
return True
text = self._script.utilities.queryNonEmptyText(obj)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]