Change Backward Sentence Navigation in Select to Speak
Currently, the backward sentence navigation takes the user to the closest sentence start before the current position. If the user wants to go to the previous sentence, they have to click the backward button at the beginning of the current sentence before TTS speaking any word. This poses interaction challenges as the user has to compete with the TTS engine. After consolidating with our UXD, we plan to change the behavior of backward sentence navigation. Clicking the backward button will always go to the previous sentence, regardless of the user's position at the current sentence. However, we need to keep the behavior of the pause and resume feature, which brings the user back to the start of the current sentence. This CL modifies navigateToNextSentenceWithinNodeGroup_ and navigateToNextSentence_ to allow callers to set whether we will skip the current sentence when navigating backward. AX-Relnotes: N/A. Bug: 1143823 Change-Id: I71d05f62f38cb3dbba31b6375f11b537b611b4a6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2597178 Commit-Queue: Lei Shi <leileilei@google.com> Reviewed-by:Akihiro Ota <akihiroota@chromium.org> Reviewed-by:
David Tseng <dtseng@chromium.org> Cr-Commit-Position: refs/heads/master@{#838981}
Showing
This diff is collapsed.
Please register or sign in to comment