[Webkit-unassigned] [Bug 109937] [EFL][WK2] Additional bits of having Accessibility in WebKit-EFL.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 18 03:51:23 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=109937





--- Comment #6 from Mario Sanchez Prada <mario at webkit.org>  2013-02-18 03:53:42 PST ---
(In reply to comment #5)
> [...]
> I wanted to expose only WebProcess part.

I see.

> [...]
> Generally, my intention was to load ATK bridge from WebProcess. While 
> testing, I could see ATK bridge is linked to WebProcess. It looked a11y tree 
> for DOM was properly exposed. GNOME Orca was able to read Web's content.

Yes, that works because the Web process is exposed on its own to AT-SPI, but you miss the "connection" with the UI Process and so Orca won't be able to know that such a web process actually belongs to a web browser, a mail client... or whatever.

That's why the AtkSocket <-> AtkPlug thing is important, I believe.

> > [...]
> > So, I really wonder why you want to return this dummy root object, which 
> > isolated from the world, instead of plainly returning that AtkPlug object, 
> > which is also a AtkObject that connects you to the a11y hierarchy wrapping 
> > the DOM.
> 
> Generally, I also thought about it, that the good candidate is one from 
> WebProcess. The thing is, it's a AtkPlug type. ATK bridge, while 
> initialization is being done checks whether root is AtkPlug. If it is, it 
> omits creation of dbus address line, where the server will listen and where 
> clients will connect to. I hope this is a thing and that's way I provided 
> this dummy object of type ATK_TYPE_OBJECT

I see. It's true that the AtkPlug/Socket machinery means specific things to be done in the ATK bridge (e.g. implementing socket_embed() and get_plug_id()), so I'm not surprised of this, even though I didn't realized until now :)

What I still wonder is whether it would not be better, or just more convenient for you, to avoid this dummy object and use instead the first and only child of this AtkPlug object, which certainly wraps WebCore's AccessibilityObject associated to the DOM's root.

If you think of AtkPlug as just a proxy object to communicate with the UI process, then I would say skipping that proxy and just using its only child could make a lot of sense, and should work fine for you anyway I think.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list