• Nektarios Paisios's avatar
    Removes workaround for autofill popups from AXPosition · 7bcbf8b1
    Nektarios Paisios authored
    After https://crrev.com/c/2122718 has landed
    which switches to using inner text instead of the kValue
    attribute for retrieving the contents of text fields
    in AXPosition, there is no longer a need to have a workaround for
    computing the parent position of a text position that is
    located inside an autofill popup that is a child
    of a text field, since the text of the
    popup, i.e. the autofill suggestion, would be part of inner text/.
    Previously, the kValue attribute didn't reflect the value of any autofill suggestion.
    
    RelNotes: Users of VoiceOver, NVDA and Jaws screen readers are able to use the
    "Read Current Line" and "Read Current Word" commands to read the placeholder text in a text field.
    <label>Name: <input type="text" placeholder="John Doe"></label>
    
    R=dmazzoni@chromium.org, aleventhal@chromium.org
    
    Change-Id: If57e012e8d16fa2b99e091aa5f86a0f145e266d9
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2125450Reviewed-by: default avatarAaron Leventhal <aleventhal@chromium.org>
    Commit-Queue: Aaron Leventhal <aleventhal@chromium.org>
    Commit-Queue: Nektarios Paisios <nektar@chromium.org>
    Auto-Submit: Nektarios Paisios <nektar@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#754524}
    7bcbf8b1
ax_position.h 168 KB