Chromium Code Reviews| Index: chrome/browser/resources/settings/controls/settings_toggle_button.html |
| diff --git a/chrome/browser/resources/settings/controls/settings_toggle_button.html b/chrome/browser/resources/settings/controls/settings_toggle_button.html |
| index a294ae0e7e63f732b6060118f7f0590acb3a25e8..c20a033c7e28bbc0837dac720c0d0b4009da1763 100644 |
| --- a/chrome/browser/resources/settings/controls/settings_toggle_button.html |
| +++ b/chrome/browser/resources/settings/controls/settings_toggle_button.html |
| @@ -39,7 +39,7 @@ |
| <div id="outerRow" noSubLabel$="[[!subLabel]]"> |
| <div class="flex" on-tap="onLabelWrapperTap_" |
| actionable$="[[!controlDisabled_(disabled, pref)]]"> |
| - <div class="label"> |
| + <div id="label" class="label"> |
| [[label]] |
| </div> |
| <div class="secondary label">[[subLabel]]</div> |
| @@ -49,7 +49,7 @@ |
| <cr-policy-pref-indicator pref="[[pref]]"></cr-policy-pref-indicator> |
| </template> |
| <paper-toggle-button id="control" checked="{{checked}}" |
| - on-change="notifyChangedByUserInteraction" |
| + on-change="notifyChangedByUserInteraction" aria-labelledby="label" |
|
Dan Beam
2017/02/17 22:06:46
yeah, this is the big one
|
| disabled="[[controlDisabled_(disabled, pref)]]"> |
| </paper-toggle-button> |
| </div> |