--- Comment #2 from Alejandro Piñeiro Iglesias (IRC: API) <
apin...@igalia.com> 2012-09-22 21:33:14 UTC ---
(In reply to comment #1)
> IAccessible2 has a similar event.
> Acording to [1]: "IA2_EVENT_VISIBLE_DATA_CHANGED A visible data event
> indicates the change of the visual appearance of an accessible object. This
> includes for example most of the attributes available via the
> IAccessibleComponent interface." (IAccessibleComponent has 3 properties:
> location, background color and foreground color)
>
> [1]
>
http://accessibility.linuxfoundation.org/a11yspecs/ia2/docs/html/_accessible_event_i_d_8idl.html
That seems to suggest that each time something like that changed, the signal
need to be emitted. Something that seems an overkill.
Looking at Orca, I only found a reference to that signal, onVisibleDataChanged
at thunderbird/script.py, and it seems that it is never called/used (so
probably it was something used in the past, but not anymore).
Anyway, this let me to take a look to Gecko code, and I only found a reference
to this signal:
case nsIAccessibleEvent::EVENT_SECTION_CHANGED:
MAI_LOG_DEBUG(("\n\nReceived: EVENT_SECTION_CHANGED\n"));
g_signal_emit_by_name(atkObj, "visible_data_changed");
break;
So it really seems that it is not only badly defined, but not used at all. So I
see two options right now:
* It is not used because it was badly defined, so badly implemented => improve
documentation/guidelines, ask implementors to implement it properly, notify AT
that they can use it again
* It is not used because it is not required => deprecate it documenting why it
is not required, add that documention to the guidelines, ask implementors to
stop to emit it