Chromium Code Reviews
DescriptionAXObject::performDefaultAction() should focus if it can't click
The user-visible bug here is that sending a CLICK event to a text field on
Android does nothing, because a text field doesn't have a default action.
I could fix this on the Android side, but this seems wrong to me. If
performDefaultAction() is called on a focusable control, I think the natural
thing to do is focus it if there's no "press" behavior. So I think we should
handle that generally.
Let me know if you have any objection and I could make it more narrow. But to
me it seems more useful this way.
BUG=703659
Review-Url: https://codereview.chromium.org/2772913003
Cr-Commit-Position: refs/heads/master@{#459448}
Committed: https://chromium.googlesource.com/chromium/src/+/cbf2ebc6e589a5aa81d29c78cf392182de4329bb
Patch Set 1 #Patch Set 2 : Add test #Messages
Total messages: 14 (8 generated)
|