Apache OpenOffice (AOO) Bugzilla – Issue 76926
[a11y] Check menu items should have a role of ROLE_CHECK_MENU_ITEM
Last modified: 2008-10-27 14:10:13 UTC
See also Orca bug #433398 which was affected by this. http://bugzilla.gnome.org/show_bug.cgi?id=433398 There are various menu items in Calc (and probably other OOo applications that can have either a checked or an unchecked state. Calc->Window->Freeze is one such example. Currently those menu items have a role of ROLE_MENU_ITEM. Looking in the at-spi IDL Accessibility_Role.idl file, they should really be of role ROLE_CHECK_MENU_ITEM.
@richburridge: does this mean in Orca that the Braille display should show, for instance: "Freeze < > chk" Or "Freeze <x> chk" while it now only shows "Freeze", right? Compare with gedit: View - Toolbar is shown "Toolbar <x> chk" @OBR: this concerns all check menus in OOo.
Changed component. Set A11y keyword.
@es: correct. I added a "hack" into Orca yesterday that looks to see if an object of role ROLE_MENU_ITEM has a CHECKED state (see Orca bug http://bugzilla.gnome.org/show_bug.cgi?id=433398), so the "<x>" is now appearing on the braille display, but even with that change, I'm unable to set "< >" (i.e. unchecked) for when it's not in a CHECKED state. Those checkable menu items really need to have a role of ROLE_CHECK_MENU_ITEM. Thanks.
re-assigned.
The vcl API offers only the methods void Menu::CheckItem( USHORT nItemId, BOOL bCheck = TRUE ) BOOL Menu::IsItemChecked( USHORT nItemId ) const The question is, how can we access the information that a menu item is checkable, especially if this functionality is added by sfx. TBE->MT: As discussed, please clarify.
target 3.0
mt->richburridge Discussed this with Will at CSUN. OOo/VCL doesn't have a role for "checkable", since any menu item can be checked, just by calling SetChecked( BOOL ). Having this role shouldn't be important, because Orca only has to figure out if a menu item is checked, and then read this state. A seeing user also doesn't see a difference between a checkable and a non checkable item. He chooses the item, and the app checks it our not. Orca already handles this correctly, no reason to change something in OOo
Back to richburridge
Closing