Index: src/orca/scripts/toolkits/Gecko/script.py
===================================================================
--- src/orca/scripts/toolkits/Gecko/script.py	(revision 4527)
+++ src/orca/scripts/toolkits/Gecko/script.py	(working copy)
@@ -2912,7 +2912,7 @@
         if obj and not obj.getState().contains(pyatspi.STATE_SHOWING):
             return True
 
-        attrs = self._getAttrDictionary(orca_state.locusOfFocus)
+        attrs = self._getAttrDictionary(obj)
         try:
             # ARIA landmark widgets
             import sets
