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

Unified Diff: chrome/browser/resources/settings/a11y_page/a11y_page.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 | « no previous file | chrome/browser/resources/settings/controls/settings_toggle_button.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/a11y_page/a11y_page.html
diff --git a/chrome/browser/resources/settings/a11y_page/a11y_page.html b/chrome/browser/resources/settings/a11y_page/a11y_page.html
index 432ee614262e9e19b3a05192bf2565854c38bc2f..f83afb0c5ba697cf7ad80fb06b8fa43aa097091d 100644
--- a/chrome/browser/resources/settings/a11y_page/a11y_page.html
+++ b/chrome/browser/resources/settings/a11y_page/a11y_page.html
@@ -19,9 +19,12 @@
section="a11y">
<neon-animatable route-path="default">
<div class="settings-box first">
- <div class="start">$i18n{optionsInMenuLabel}</div>
+ <div id="optionsInMenuLabel" class="start">
+ $i18n{optionsInMenuLabel}
+ </div>
<paper-toggle-button id="optionsInMenuToggle"
- checked="{{prefs.settings.a11y.enable_menu.value}}">
+ checked="{{prefs.settings.a11y.enable_menu.value}}"
+ aria-labelledby="optionsInMenuLabel">
</paper-toggle-button>
</div>
<template is="dom-if" if="[[!isGuest_]]">
« no previous file with comments | « no previous file | chrome/browser/resources/settings/controls/settings_toggle_button.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698