[orca/570658] Don't output information for non-ARIA tables



commit 9026859b8a42d4156836fd6213bf376ec98f6ee7
Author: Willie Walker <william walker sun com>
Date:   Tue May 19 18:24:50 2009 -0400

    Don't output information for non-ARIA tables
---
 src/orca/scripts/toolkits/Gecko/formatting.py |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/src/orca/scripts/toolkits/Gecko/formatting.py b/src/orca/scripts/toolkits/Gecko/formatting.py
index dc6f8d2..d47db8b 100644
--- a/src/orca/scripts/toolkits/Gecko/formatting.py
+++ b/src/orca/scripts/toolkits/Gecko/formatting.py
@@ -41,6 +41,15 @@ formatting = {
             'focused': 'focusedItem',
             'unfocused': 'labelOrName + focusedItem + multiselectableState + numberOfChildren'
             },
+        # [[[TODO: JD - We should decide if we want to provide
+        # information about the table dimensions, whether or not
+        # this is a layout table versus a data table, etc.  For now,
+        # however, if it's in HTML content let's ignore it so that
+        # SayAll by sentence works. :-) ]]]
+        #
+        pyatspi.ROLE_TABLE: {
+            'unfocused': '[]'
+            },
     }
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]