Commit 8941800d authored by yoshiki@chromium.org's avatar yoshiki@chromium.org

Adding learn more link in chrome://settings for a11y features

R=jhawkins@chromium.org
BUG=158290
TEST=manual

Review URL: https://chromiumcodereview.appspot.com/11418231

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170407 0039d316-1c4b-4281-b951-d872f2087c98
parent edf915bd
......@@ -706,6 +706,9 @@ Press any key to continue exploring.
<message name="IDS_OPTIONS_SETTINGS_BLUETOOTH_FORGET_FAILED">
Failed to disconnect and unpair from "<ph name="DEVICE_NAME">%1<ex>Nexus S</ex></ph>".
</message>
<message name="IDS_OPTIONS_SETTINGS_ACCESSIBILITY_EXPLANATION" desc="In the settings tab, this text explains the accessibiliy features.">
Enable the accessibility features you need.
</message>
<message name="IDS_OPTIONS_SETTINGS_ACCESSIBILITY_DESCRIPTION" desc="In the settings tab, the text next to the checkbox for spoken feedback.">
Enable spoken feedback
</message>
......
......@@ -600,6 +600,11 @@
<section>
<h3 i18n-content="accessibilityTitle"></h3>
<div class="option-control-table">
<p id="accessibility-explanation" class="settings-row">
<span i18n-content="accessibilityExplanation"></span>
<a target="_blank" i18n-content="learnMore"
i18n-values="href:accessibilityLearnMoreURL"></a>
</p>
<div class="option-name">
<div class="checkbox">
<label>
......
......@@ -280,6 +280,8 @@ void BrowserOptionsHandler::GetLocalizedValues(DictionaryValue* values) {
{ "themesReset", IDS_THEMES_RESET_BUTTON },
#endif
#if defined(OS_CHROMEOS)
{ "accessibilityExplanation",
IDS_OPTIONS_SETTINGS_ACCESSIBILITY_EXPLANATION },
{ "accessibilityHighContrast",
IDS_OPTIONS_SETTINGS_ACCESSIBILITY_HIGH_CONTRAST_DESCRIPTION },
{ "accessibilityScreenMagnifier",
......@@ -412,6 +414,9 @@ void BrowserOptionsHandler::GetLocalizedValues(DictionaryValue* values) {
// TODO(pastarmovj): replace this with a call to the CrosSettings list
// handling functionality to come.
values->Set("timezoneList", GetTimezoneList().release());
values->SetString("accessibilityLearnMoreURL",
chrome::kChromeAccessibilityHelpURL);
#endif
#if defined(OS_MACOSX)
values->SetString("macPasswordsWarning",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment