commit | f37c197117dac5e465250f159e1969da26f37ed4 | [log] [tgz] |
---|---|---|
author | Dominic Mazzoni <[email protected]> | Wed Sep 27 17:53:44 2017 |
committer | Commit Bot <[email protected]> | Wed Sep 27 17:53:44 2017 |
tree | 81ffa70e38ce3a1bf9592734f99695edc8aa3083 | |
parent | a59fb76dee9cb53c74ddb4fe82dffe0335ea827b [diff] |
Split the accessible combo box role into three roles. For historical reasons, the ARIA role "combobox" is misused and misunderstood. It can be one of three things: 1. A fully editable text field that also has a drop-down list of possible options 2. A button that opens to reveal a mutually-exclusive list of choices (but with no text field anywhere) 3. A grouping container with a text field and a drop-down list inside The only platform where this mostly worked was on Windows, where "combo box" is a native control. On Mac and Android, we need to treat #1 as a text field primarily, and #2 more like a button, since there's no equivalent that acts as both. Bug: 516869, 666049, 546051 Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation Change-Id: I7ffd92f2996c729398d4300262e545eaa9ca0009 Reviewed-on: https://chromium-review.googlesource.com/642056 Commit-Queue: Dominic Mazzoni <[email protected]> Reviewed-by: Michael Giuffrida <[email protected]> Reviewed-by: Aaron Leventhal <[email protected]> Cr-Commit-Position: refs/heads/master@{#504725}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .