[webkit-dev] dump accessibility tree

James Craig jcraig at apple.com
Wed Apr 23 15:48:26 PDT 2014


Check out dumpAccessibilityChildren() in:
./LayoutTests/accessibility/aria-hidden-false-works-in-subtrees.html

Also look in:
./Tools/WebKitTestRunner/InjectedBundle/Bindings/AccessibilityUIElement.idl
./Tools/WebKitTestRunner/InjectedBundle/Bindings/AccessibilityController.idl


On Apr 23, 2014, at 1:49 PM, Chris Fleizach <cfleizach at apple.com> wrote:

> A few of the layout tests have something like this where it can iterate every object.
> 
> Although usually, the platform AX trees are pretty accurate representations of what in the WebCore AX tree
> 
> On Apr 23, 2014, at 12:34 PM, Jarek Czekalski <jarek at jarek.katowice.pl> wrote:
> 
>> Hi All!
>> 
>> I'm trying to discover the way accessibility works in webkit and maybe fix some orca blockers. There is a renderer tree, that I can dump using DumpRenderTree. There is also atk tree, that I can inspect with python scripts and accerciser. But there is also a layer inbetween, something like WebCore Accessibility Tree. Is there a way to dump the tree for a given page?
>> 
>> Or maybe there are other useful tools or tricks, to use when I see a broken atk tree, like in bug #131933 [1]?
>> 
>> Thanks in advance
>> Jarek
>> 
>> [1] https://bugs.webkit.org/show_bug.cgi?id=131933
>> 
>> _______________________________________________
>> webkit-dev mailing list
>> webkit-dev at lists.webkit.org
>> https://lists.webkit.org/mailman/listinfo/webkit-dev
> 
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev



More information about the webkit-dev mailing list