Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2886)

Unified Diff: chrome/browser/resources/settings/people_page/people_page.html

Issue 2811693004: MD Settings: Restore focus after exiting various subpages. (Closed)
Patch Set: Address comments, fix test. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/settings/people_page/people_page.html
diff --git a/chrome/browser/resources/settings/people_page/people_page.html b/chrome/browser/resources/settings/people_page/people_page.html
index 30ce4b1bfa6b9fd9d6049e14e5f8673ca7a37794..4d8794c55066755542218bb7fdf1cf3a7950318f 100644
--- a/chrome/browser/resources/settings/people_page/people_page.html
+++ b/chrome/browser/resources/settings/people_page/people_page.html
@@ -95,7 +95,8 @@
padding-top: 10px;
}
</style>
- <settings-animated-pages id="pages" section="people">
+ <settings-animated-pages id="pages" section="people"
+ focus-config="[[focusConfig_]]">
<neon-animatable route-path="default">
<div id="picture-subpage-trigger" class="settings-box first two-line">
<template is="dom-if" if="[[syncStatus]]">
@@ -213,8 +214,8 @@
prefs.settings.enable_screen_lock.value)]]
</div>
</div>
- <button class="subpage-arrow" is="paper-icon-button-light"
- aria-label="$i18n{lockScreenTitle}"
+ <button id="lockScreenSubpageTrigger" class="subpage-arrow"
+ is="paper-icon-button-light" aria-label="$i18n{lockScreenTitle}"
aria-describedby="lockScrenSecondary"></button>
</div>
</template>

Powered by Google App Engine
This is Rietveld 408576698