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

Unified Diff: chrome/browser/resources/settings/site_settings/protocol_handlers.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
« no previous file with comments | « chrome/browser/resources/settings/people_page/sync_page.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/site_settings/protocol_handlers.html
diff --git a/chrome/browser/resources/settings/site_settings/protocol_handlers.html b/chrome/browser/resources/settings/site_settings/protocol_handlers.html
index f10f271a26264323de50fd14534a2d881d7cf01d..58a391e301c3e997a3fb866b4b347ec3470360fe 100644
--- a/chrome/browser/resources/settings/site_settings/protocol_handlers.html
+++ b/chrome/browser/resources/settings/site_settings/protocol_handlers.html
@@ -23,11 +23,12 @@
}
</style>
<div class="settings-box first two-line">
- <div class="start secondary">
+ <div id="categoryLabel" class="start secondary">
[[computeHandlersDescription_(categoryEnabled)]]
</div>
<paper-toggle-button id="toggle" checked="{{categoryEnabled}}"
- on-change="onToggleChange_"></paper-toggle-button>
+ on-change="onToggleChange_" aria-labelledby="categoryLabel">
+ </paper-toggle-button>
</div>
<template is="dom-repeat" items="[[protocols]]" as="protocol">
« no previous file with comments | « chrome/browser/resources/settings/people_page/sync_page.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698