• Aaron Leventhal's avatar
    Use consistent role for options in a select size=1 · 0807e0a0
    Aaron Leventhal authored
    Sometimes the menuitem role was incorrectly exposed for the role of
    <option> elements in a <select size=1> depending on which ancestors
    were ignored. These elements should always be exposed as listitems.
    
    The code that does this was intended to be removed as part of a
    previous refactoring. This removes it now.
    
    to screen readers as menuitems instead of listitems (Windows only)
    
    AX-RelNotes: in rare cases, select drop down options were reported
    Bug: 1114273
    Change-Id: I618a883912cca5809661d919bbb48cfdc355e3d1
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2369252
    Commit-Queue: Aaron Leventhal <aleventhal@chromium.org>
    Commit-Queue: Nektarios Paisios <nektar@chromium.org>
    Auto-Submit: Aaron Leventhal <aleventhal@chromium.org>
    Reviewed-by: default avatarNektarios Paisios <nektar@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#801432}
    0807e0a0
modal-dialog-stack-expected-uia-win.txt 316 Bytes