cros dont allow webview to be focused
In the new app list focus design, whenever the AnswerCard WebView is focused, keys are filtered and sent straight to the webview. To fix this, we do not allow webview to be focused. No functionality is lost in this choice. Also in this CL, fix the Accessibility experience of answer cards by: - Make the SearchAnswerWebView's focus behavior Accessible only. - Make the SearchResultAnswerCardView's focus behavior Accessible only. - Make SearchAnswerContainerView's AX Role "Generic Container" instead of "Button", so chromevox knows to look inside the view for the Answer Card's contents. This focus behavior feels exactly like the old model, and improves ChromeVox's ability to see the WebView's elements, where before they could not be discovered by chromeVox. Bug: 763074 Change-Id: I0543c7fb653c0389eda405679fdfec30795da0df Reviewed-on: https://chromium-review.googlesource.com/722059 Commit-Queue: Alex Newcomer <newcomer@chromium.org> Reviewed-by:Xiyuan Xia <xiyuan@chromium.org> Cr-Commit-Position: refs/heads/master@{#509532}
Showing
Please register or sign in to comment