Index: src/orca/Gecko.py
===================================================================
--- src/orca/Gecko.py	(revision 3399)
+++ src/orca/Gecko.py	(working copy)
@@ -7076,8 +7076,15 @@
              and objects[-1][0].getRole() == pyatspi.ROLE_TABLE_CELL:
             cell = objects[-1][0]
 
+        containingTable = self.getAncestor(cell,
+                                           [pyatspi.ROLE_TABLE],
+                                           [pyatspi.ROLE_DOCUMENT_FRAME])
+        if containingTable:
+            table = containingTable.queryTable()
+        else:
+            cell = None
+
         if cell:
-            table = cell.parent.queryTable()
             row = table.getRowAtIndex(obj.getIndexInParent())
             col = table.getColumnExtentAt(row, 0)
             validCell = (table.nColumns > 0)
