GNOME Bugzilla – Bug 569835
Orca should support the ARIA haspopup attribute
Last modified: 2009-01-31 15:57:15 UTC
The ARIA folks invented a new way to express the menu role: a push button or menu item with an attribute of "haspopup:true": http://www.w3.org/TR/wai-aria/#haspopup We need to support this. An example of these beasts can be found at http://archive.dojotoolkit.org/nightly/dojotoolkit/dijit/tests/form/test_Button.html -- all the menu items on that page are push buttons with the "haspopup:true" attribute.
Created attachment 127568 [details] [review] First pass at this This seems to be a doubleplusgood patch that goodifies the previous ungood code that didn't recognize menu and menu items that disguised themselves as buttons with a haspopup:true attribute. It pylints well and regression tests well except for those tests that now expose things as menus.
Created attachment 127631 [details] [review] Patch to include regression test modifications Committed to trunk and gnome-2-24.