Re: [orca-list] Question about notification icon events and their accessible objects



Hi Bill.

On Fri, 2010-05-07 at 11:15 -0400, Bill Cox wrote:
I'm trying to figure out why icons in the notification area of the
gnome-panel read "icon", and don't say the title of the icon, even if
the programmer has gone to the trouble of assigning the icon a title
for screen readers.

We need the icon to have a name.

  In Accerciser, I can see events like:

object:state-changed:focused(1, 0, None)
      source: [icon | ]
      application: [application | gnome-volume-control-applet]

Looks like the icon doesn't have a name.

I assume this causes Orca to say "icon".

Yup.

icon.  When I click on the link in source: [icon | ], it doesn't do
anything.  I assume this is because no accessible object was ever
created for that icon.  Is this correct?

Hard to say without looking at it. Could be an Accerciser thing. Failing
that, here's my theory (based on experience with similar situations):
Some Gtk+ widget -- which does not have a corresponding accessible
object representing itself to us -- becomes focused. That's resulting in
corresponding accessible events. Those events are, in turn, resulting in
the creation of an accessible object. And the object which is being
created lacks a name.

Does Orca act on messages
from objects that have no accessible object?

Not possible AFAIK.

I would prefer that in this case, Orca would read the icon title, or
if that's not set, the tooltip for the applet.

I would prefer that the icon be named correctly, because if you get that
icon a name, Orca should automatically present it as you expect. :-)

Given that the programmer has gone to the trouble of assigning the icon
a title for screen readers, what I'd be investigating are:

1. Does title mean accessible name, or does it mean something else (like
accessible object description or accessible image description)?

2. What widget has this title?

3. What widget is claiming focus?

4. Is the widget from question 2 the same widget as the one from
question 3? (i.e. and not a child or ancestor)

HTH.
--joanie




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]