<box orient="vertical" flex="1"> <description> <html:b> Testing XUL MenuList for Accessibility.. </html:b> </description> <label value="Select a Menu Item:" control="get-item"/> <menulist> <menupopup> <menuitem label="First Menu Item"/> <menuitem label="Second Menu Item" selected="true"/> <menuitem label="Third Menu Item" src="images/findpic.gif"/> <menuitem label="Fourth Menu Item"/> </menupopup> </menulist> </box> Enter the above code in a xul file and open it in mozilla. Open Inspect tool and click on "Show highlight rectange" then move the mouse over the Menulist. Check the state in Inspect. It shows "focused, readonly, collapsed, focusable". Since the menulist has popup also, it should show "haspopup" also in the state.
Dharma, This is logical, but I cannot find any other menu item objects in Windows that support STATE_HASPOPUP. Since we are trying to be as close as possible to other MSAA implementations, I suggest we mark INVALID.
-- Marking bug as invalid as per aaron's suggestion.
-- Marking bug as verified.