[orca] Only treat HTML tables as layout only if the user agent hint says it is
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Only treat HTML tables as layout only if the user agent hint says it is
- Date: Sat, 13 Apr 2019 15:00:35 +0000 (UTC)
commit dbb1a1dd198afe380710ef3bf87be693c2e60f6c
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Sat Apr 13 10:59:39 2019 -0400
Only treat HTML tables as layout only if the user agent hint says it is
src/orca/script_utilities.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/orca/script_utilities.py b/src/orca/script_utilities.py
index 68952df5c..604bc666f 100644
--- a/src/orca/script_utilities.py
+++ b/src/orca/script_utilities.py
@@ -1436,7 +1436,7 @@ class Utilities:
else:
if not (table.nRows and table.nColumns):
layoutOnly = not obj.getState().contains(pyatspi.STATE_FOCUSED)
- elif attrs.get('xml-roles') == 'table':
+ elif attrs.get('xml-roles') == 'table' or attrs.get('tag') == 'table':
layoutOnly = False
elif not (obj.name or self.displayedLabel(obj)):
layoutOnly = not (table.getColumnHeader(0) or table.getRowHeader(0))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]