arc-a11y: Allow UI controls to receive focus.
crrev/c/2291552 changed focused node computation to remain unchanged if the adjusted node was invalid. However this meant that nodes with no name that should be focused, did not receive focus. Controls (such as seekbars), don't always have a name, but they should be focusable. This CL adds such a condition, to allow controls to receive focus. AX-Relnotes: n/a. Bug: b:160107299 Test: AccessibilityNodeInfoDataWrapperTest.controlIsFocusable Test: AXTreeSourceArcTest.ControlReceivesFocus Test: manual. Check that settings app does not have regression Test: tast run DUT_IP arc.AccessibilityEvent passes Change-Id: I562d70c319974d900b1d48afcc135e64f1181533 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2310219 Commit-Queue: Sara Kato <sarakato@chromium.org> Reviewed-by:Hiroki Sato <hirokisato@chromium.org> Cr-Commit-Position: refs/heads/master@{#792157}
Showing
Please register or sign in to comment