Expectations for "has popup" accessibility property

Hi,

When setting the GTK_ACCESSIBLE_PROPERTY_HAS_POPUP property to TRUE for a widget, what are the expectations for tools like Orca to work with it?

Shall the widget:

  • provide a menu.popup action?
  • support ShiftF10 sortcut?
  • react on right click?

Or are these triggers just optional?

Not really an answer to the direct question, but I wanted to mention that you might be able to use Gtk.PopoverBin or look at its source code for best practices.

You definitely want the keyboard interactions to work, but Orca currently does not need the a11y action to exist, and it will not call it automatically.

OK, makes sense.
Thank you, it’s exactly the info I was looking for!

Thanks for the tip!