[webkit-dev] dump accessibility tree
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@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev
Re: [webkit-dev] dump accessibility tree
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 ja...@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@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev
Re: [webkit-dev] dump accessibility tree
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 cfleiz...@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 ja...@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@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev