Fix slider accessibility
1. the initial value change on sliders sometimes did not get dispatched because a client user of the Slider class can and does set the initial slider value before attaching it to a widget and making that widget visible. Fire the value change when visibility changes for the slider if needed. An example of where this occurs is the Chrome OS volume slider which changes without it actually receiving focus. The system tray briefly shows the volume control. 2. ChromeVox specific: make ChromeVox output the entire node including role and any states when it first encounters the node. Note that these nodes are transient so disappear quickly. We don't reset the value of |lastValueChangedTarget_ as a result. Test: manual. Bug: 755392 Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation Change-Id: I86da8d1f5aed933dcc36a460202402f576a8a5f9 Reviewed-on: https://chromium-review.googlesource.com/777599 Commit-Queue: David Tseng <dtseng@chromium.org> Reviewed-by:Sadrul Chowdhury <sadrul@chromium.org> Reviewed-by:
Dominic Mazzoni <dmazzoni@chromium.org> Cr-Commit-Position: refs/heads/master@{#520681}
Showing
Please register or sign in to comment