Set "checked" status in Atk

I’m adding accessibility to a Gtk3 application (Desktop Icons) and want the screen reader to specify the selected status of an icon (selected or not selected). Currently I set the role to DESKTOP ICON, and tried to use accessibleObject.notify_state_change (Atk.StateType.SELECTED, true); to set the “selected” status to TRUE, but there is no change in what Orca says.

I also tried changing the role to CHECKBUTTON and use Atk.StateType.CHECKED, just as a test, but no dice.

How should I do that?

Ok, it seems that DESKTOP_ICON role just doesn’t support any kind of state. Using a CHECK_BUTTON and a new class that sets the right states in the ref_state_set, works. But, of course, I don’t want to use a CHECK_BUTTON for the desktop… Would it be acceptable to add CHECKED property to the DESKTOP_ICON role?