Commit e08cac67 authored by Denis Kuznetsov's avatar Denis Kuznetsov Committed by Commit Bot

Fix focusing during OOBE

Fix a11y focus-related issues on Marketing opt-in and EULA screens.

Bug: 1024092
Change-Id: Ic976091e42ed2c46324445288e2c2b794d87883e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2401659
Commit-Queue: Denis Kuznetsov [CET] <antrim@chromium.org>
Reviewed-by: default avatarRoman Sorokin [CET] <rsorokin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#805694}
parent ea46b8b7
......@@ -59,6 +59,7 @@ Polymer({
/** Called when dialog is shown */
onBeforeShow() {
this.isAccessibilitySettingsShown_ = false;
this.$.marketingOptInOverviewDialog.show();
},
/**
......
......@@ -335,6 +335,7 @@ Polymer({
onFrameLoad_() {
this.acceptButtonDisabled = false;
this.eulaLoadingScreenShown = false;
this.focus();
this.$.eulaDialog.scrollToBottom();
},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment