[a11y] AXPlatformNodeAuraLinux::HitTestSync recurses into descendants
This CL allows atk_ref_accessible_at_point on the native frame or panel to hittest web area. According to the comment from ViewAXPlatformNodeDelegate::HitTestSync, AXPlatformNode is supposed to do a recursive hit test and AXPlatformNodeWin works recursively already. So, AXPlatformNodeAuraLinux hittests recursively. The difference between Windows and AuraLinux is that WebArea is also a descendant of the top window in AuraLinux. AX-Relnotes: atk_ref_accessible_at_point recurses into descendants. So, it finds a node from the web page when it's called on the ancestor of web area. Bug: 1051616 Change-Id: I03f0a37999fdaf9b2656b7eddc805467657a4b17 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2210291Reviewed-by:Dominic Mazzoni <dmazzoni@chromium.org> Reviewed-by:
Sadrul Chowdhury <sadrul@chromium.org> Commit-Queue: Julie Kim <jkim@igalia.com> Cr-Commit-Position: refs/heads/master@{#773020}
Showing
Please register or sign in to comment