Ensure `input` and `change` events fire when selecting an <option>
When a native click accessibility operation is performed on an option element that is part of a select popup, we mark the option as selected, then do a native click on the parent select to dismiss it. This sequence of operations ends up not firing `input` and `change` events, which normally happens as part of the popup being dismissed by the click in the normal case. However, the AccessKeyAction for option takes care of this, so we perform that operation instead of directly setting the option as selected. Bug: 1143990 Change-Id: Ied6023b4b2aee759575eebf75a32b7f2720f3068 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2508884Reviewed-by:Dominic Mazzoni <dmazzoni@chromium.org> Reviewed-by:
Victor Fei <vicfei@microsoft.com> Commit-Queue: Daniel Libby <dlibby@microsoft.com> Cr-Commit-Position: refs/heads/master@{#823312}
Showing
Please register or sign in to comment