• Mark Schillaci's avatar
    Addressing text selection mode on Android and AccessibilityEvent discrepancies · 528fea0c
    Mark Schillaci authored
    This CL addresses various coupled bugs in both text selection and non-
    default granularity navigation for input fields/contenteditables on
    Android. It fixes various issues with improper announcements,
    announcements at the wrong time, and text selection not functioning in
    general. It also addresses AccessibilityEvent discrepancies under-the-
    hood in cases where we appeared to have the correct functionality to
    the user, but only by happenstance as we were passing bad data to
    TalkBack.
    
    This CL addresses:
    Bug 1041649 - Text selection on Android broken/not functioning
    Bug 1017466 - Contenteditable word granularity navigation not reading
    correctly
    Bug 1041587 - Beginning/End of field announcements being read at
    wrong index
    
    Bug: 1041649,1017466,1041587
    Change-Id: I30a8888e99e90356398d14319fbdf225839f5dac
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1998829
    Commit-Queue: Mark Schillaci <mschillaci@google.com>
    Reviewed-by: default avatarDominic Mazzoni <dmazzoni@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#734171}
    528fea0c
web_contents_accessibility_android.h 10.9 KB