GNOME Bugzilla – Bug 650897
a11y needs updating for newest GTK+ and AT-SPI
Last modified: 2012-02-20 20:10:17 UTC
When an icon container's selection changes, its atk object fires a selection-changed signal but not a state-changed:selected for the children whose states are changing. AT-SPI2 wants the state-changed events to update its cache, so, without a work-around, Orca will read "unselected" when focus moves onto an icon because the AT-SPI cache does not have ATSPI_STATE_SELECTED for the accessible.
Created attachment 196737 [details] [review] Patch. Derive EelCanvasAccessible from GtkAccessible, as is currently recommended. Also, have canvas item accessibles send object:state-changed:selected when appropriate.
Mike, thanks for the patch. After discussing this a bit more on IRC, we concluded most of this code should go away once GTK has a public API for accessible widget base implementations. In the meantime, I cleaned up some style nits from the patch and pushed it to master.
*** Bug 659240 has been marked as a duplicate of this bug. ***