Fix focus calls in Assistant oobe-dialogs
oobe-dialog have switched to cr-lazy implementation. Instantiation of cr-lazy template and focusing button happens in same JS event, and it seems to work incorrectly with a11y tree (at time of focus() the button is not considered a part of the tree). Fix that by postponing focus() call to the next render event. Bug: 1024092 Change-Id: I435aa720c0eac176789ff82650a27ead2b7c45c2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2401458Reviewed-by:Roman Sorokin [CET] <rsorokin@chromium.org> Commit-Queue: Denis Kuznetsov [CET] <antrim@chromium.org> Cr-Commit-Position: refs/heads/master@{#806183}
Showing
Please register or sign in to comment