GNOME Bugzilla – Bug 345104
Announce mnemonics
Last modified: 2006-07-07 15:51:15 UTC
Announce menu item, button, and other "trigger" mnemonics. Requires addition of getAccMnemonics to Task.Tools and some code for iterating over the Action interface in adapters. IAccessibleInfo should be extended with methods for getting all action names (getAccActionName), action descriptions (getAccActionDescription), total actions (getAccActionCount), and action key bindings (getAccActionKeys). IAccessibleAction should be extended to active one or more actions in sequence (doAccAction(*indices)).
Eirikur, only worry about implementing the adapter and Task.Tools methods for this feature. Once those are in place, we'll add the announcement as appropriate to the DefaultPerk.
Let's try to get this patch done by next Wednesday. Here's a more complete spec of the methods to be implemented: getAccActionNames() # returns names of all actions in the Action interface # raises NotImplementedError if the Action interface isn't supported # should be added to the default info adapter getAccActionDescriptions() # returns descriptions of all actions in the Action interface # raises NotImplementedError if the Action interface isn't supported # should be added to the default info adapter getAccActionCount() # returns the total number of actions available in the Action interface # raises NotImplementedError if the Action interface isn't supported # should be added to the default info adapter getAccActionKeys() # returns the key bindings of all actions in the Action interface # multiple key bindings may be assigned to a single action and are returned by at-spi as strings like so: c;Alt-v:c;F11 # the string key binding for a single action should be split on the ; character and returned as a list (in other words, this method returns a list of lists) # raises NotImplementedError if the Action interface isn't supported # should be added to the default info adapter doAccAction(*indices) # performs all of the actions at the indices given in sequence using the Action interface # raises NotImplementedError if the Action interface isn't supported # should be added to the default action adapter
Fixed in the development version. The fix will be available in the next major release. Thank you for your bug report.