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

Unified Diff: chrome/browser/resources/settings/controls/controlled_radio_button.html

Issue 2720413002: MD Settings: add an aria-label to control indicators (often policy) (Closed)
Patch Set: merge Created 3 years, 9 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/controls/controlled_radio_button.html
diff --git a/chrome/browser/resources/settings/controls/controlled_radio_button.html b/chrome/browser/resources/settings/controls/controlled_radio_button.html
index 90c000b300d8778fe50dcc99437c0a5dd2d2d8e6..4044da744d43de0d4526f3b2f50c81829a244fef 100644
--- a/chrome/browser/resources/settings/controls/controlled_radio_button.html
+++ b/chrome/browser/resources/settings/controls/controlled_radio_button.html
@@ -34,11 +34,12 @@
<paper-radio-button id="radioButton" name="{{name}}" checked="{{checked}}"
disabled="[[controlled_]]" tabindex$="[[tabindex]]">
- <content></content>
+ [[label]] <content></content>
</paper-radio-button>
<template is="dom-if" if="[[showIndicator_(controlled_, name, pref.*)]]">
- <cr-policy-pref-indicator pref="[[pref]]" on-tap="onIndicatorTap_">
+ <cr-policy-pref-indicator pref="[[pref]]" on-tap="onIndicatorTap_"
+ icon-aria-label="[[label]]">
</cr-policy-pref-indicator>
</template>

Powered by Google App Engine
This is Rietveld 408576698