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

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

Issue 2705543003: MD-Settings: Adds an a11y label to most toggle buttons. (Closed)
Patch Set: rebase Created 3 years, 10 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/manage_profile.html
diff --git a/chrome/browser/resources/settings/people_page/manage_profile.html b/chrome/browser/resources/settings/people_page/manage_profile.html
index f677935d62dcf17de5c297fa96852db7e71e4505..0bc61813b4ccde2ab1bce2f72f5b7c86c856f8e1 100644
--- a/chrome/browser/resources/settings/people_page/manage_profile.html
+++ b/chrome/browser/resources/settings/people_page/manage_profile.html
@@ -24,10 +24,11 @@
</div>
<template is="dom-if" if="[[isProfileShortcutSettingVisible_]]">
<div class="settings-box first">
- <div class="flex">$i18n{showShortcutLabel}</div>
+ <div id="showShortcutLabel" class="flex">$i18n{showShortcutLabel}</div>
<paper-toggle-button id="hasShortcutToggle"
checked="{{hasProfileShortcut_}}"
- on-change="onHasProfileShortcutChange_">
+ on-change="onHasProfileShortcutChange_"
+ aria-labelledby="showShortcutLabel">
</paper-toggle-button>
</div>
</template>

Powered by Google App Engine
This is Rietveld 408576698