Index: src/orca/Gecko.py
===================================================================
--- src/orca/Gecko.py	(revision 2380)
+++ src/orca/Gecko.py	(working copy)
@@ -797,7 +797,12 @@
         containingToolbar = \
                self._script.getContainingRole(obj, rolenames.ROLE_TOOL_BAR)
         if containingToolbar:
-            stopAncestor = self._script.getFrame(obj)
+            if not self._script.inDocumentContent() and \
+               obj.role in [rolenames.ROLE_MENU,
+                            rolenames.ROLE_MENU_ITEM]:
+                stopAncestor = obj.parent
+            else:
+                stopAncestor = self._script.getFrame(obj)
 
         while parent and (parent.parent != parent):
             if parent == stopAncestor:
