Commit e8f9c11c authored by sungmann.cho's avatar sungmann.cho Committed by Commit bot

Fix some minor typos related to the word "accessibility".

BUG=none
TBR=asargent

Review URL: https://codereview.chromium.org/697903002

Cr-Commit-Position: refs/heads/master@{#302528}
parent 9dfb808f
......@@ -14,7 +14,7 @@
Your Chromebook may not charge while it is turned on.
</message>
<message name="IDS_CHARGER_REPLACEMENT_ACCESSIBILTY_NOTIFICATION" desc="The notification string used in accessibility to tell user to contact Google for replacing the possible bad charger.">
<message name="IDS_CHARGER_REPLACEMENT_ACCESSIBILITY_NOTIFICATION" desc="The notification string used in accessibility to tell user to contact Google for replacing the possible bad charger.">
You may have a bad charger. If you live in the US, please call 866-628-1371 in order to receive help and a replacement. If you live in the UK, please call 0800-026-0613. If you live in Ireland, please call 1-800-832-664. If you live in Canada, please call 866-628-1372. If you live in Australia, please call 1-800-067-460.
</message>
......
......@@ -77,7 +77,7 @@ class PowerTrayView : public views::ImageView {
void SetupNotifyBadCharger() {
// Poll with a shorter duration timer to notify the charger issue
// for the first time after the charger dialog is displayed.
spring_charger_accessility_timer_.Start(
spring_charger_accessibility_timer_.Start(
FROM_HERE, base::TimeDelta::FromSeconds(
kSpringChargerAccessibilityTimerFirstTimeNotifyInSeconds),
this, &PowerTrayView::NotifyChargerIssue);
......@@ -95,26 +95,26 @@ class PowerTrayView : public views::ImageView {
if (!Shell::GetInstance()->system_tray_delegate()->
IsSpringChargerReplacementDialogVisible()) {
spring_charger_accessility_timer_.Stop();
spring_charger_accessibility_timer_.Stop();
return;
}
accessible_name_ = ui::ResourceBundle::GetSharedInstance().
GetLocalizedString(IDS_CHARGER_REPLACEMENT_ACCESSIBILTY_NOTIFICATION);
accessible_name_ = ui::ResourceBundle::GetSharedInstance().
GetLocalizedString(IDS_CHARGER_REPLACEMENT_ACCESSIBILITY_NOTIFICATION);
NotifyAccessibilityEvent(ui::AX_EVENT_ALERT, true);
++spring_charger_spoken_notification_count_;
if (spring_charger_spoken_notification_count_ == 1) {
// After notify the charger issue for the first time, repeat the
// notification with a longer duration timer.
spring_charger_accessility_timer_.Stop();
spring_charger_accessility_timer_.Start(
spring_charger_accessibility_timer_.Stop();
spring_charger_accessibility_timer_.Start(
FROM_HERE, base::TimeDelta::FromMinutes(
kSpringChargerAccessibilityTimerRepeatInMinutes),
this, &PowerTrayView::NotifyChargerIssue);
} else if (spring_charger_spoken_notification_count_ >=
kMaxSpringChargerAccessibilityNotifyCount) {
spring_charger_accessility_timer_.Stop();
spring_charger_accessibility_timer_.Stop();
}
}
......@@ -124,7 +124,7 @@ class PowerTrayView : public views::ImageView {
// notification has been spoken.
int spring_charger_spoken_notification_count_;
base::RepeatingTimer<PowerTrayView> spring_charger_accessility_timer_;
base::RepeatingTimer<PowerTrayView> spring_charger_accessibility_timer_;
DISALLOW_COPY_AND_ASSIGN(PowerTrayView);
};
......
......@@ -34,7 +34,7 @@ class ASH_EXPORT AccessibilityObserver {
public:
virtual ~AccessibilityObserver() {}
// Notifies when accessibilty mode changes.
// Notifies when accessibility mode changes.
virtual void OnAccessibilityModeChanged(
ui::AccessibilityNotificationVisibility notify) = 0;
};
......
......@@ -2021,7 +2021,7 @@ 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.">
<message name="IDS_OPTIONS_SETTINGS_ACCESSIBILITY_EXPLANATION" desc="In the settings tab, this text explains the accessibility features.">
Enable accessibility features to make your device easier to use.
</message>
<message name="IDS_OPTIONS_SETTINGS_ACCESSIBILITY_SETTINGS" desc="Text of the link to open ChromeVox settings.">
......
......@@ -666,7 +666,7 @@ IN_PROC_BROWSER_TEST_P(AccessibilityManagerUserTypeTest, BrailleWhenLoggedIn) {
EXPECT_TRUE(IsBrailleImeActive());
}
IN_PROC_BROWSER_TEST_F(AccessibilityManagerTest, AcessibilityMenuVisibility) {
IN_PROC_BROWSER_TEST_F(AccessibilityManagerTest, AccessibilityMenuVisibility) {
// Log in.
user_manager::UserManager::Get()->UserLoggedIn(
kTestUserName, kTestUserName, true);
......
......@@ -160,7 +160,7 @@ PDFScriptingAPI.prototype = {
* Creates a PDF viewer with a scripting interface. This is basically 1) an
* iframe which is navigated to the PDF viewer extension and 2) a scripting
* interface which provides access to various features of the viewer for use
* by print preview and accessbility.
* by print preview and accessibility.
* @param {string} src the source URL of the PDF to load initially.
* @return {HTMLIFrameElement} the iframe element containing the PDF viewer.
*/
......
......@@ -64,7 +64,7 @@ class ScreenlockBridge {
// shown with the icon.
void SetTooltip(const base::string16& tooltip, bool autoshow);
// Sets the accessiblity label of the icon. If this attribute is not
// Sets the accessibility label of the icon. If this attribute is not
// provided, then the tooltip will be used.
void SetAriaLabel(const base::string16& aria_label);
......
......@@ -24,7 +24,7 @@ namespace {
// This class will test the language options settings.
// This test is part of the interactive_ui_tests isntead of browser_tests
// because it is necessary to emulate pushing a button in order to properly
// test accessiblity.
// test accessibility.
class LanguageOptionsWebUITest : public InProcessBrowserTest {
public:
LanguageOptionsWebUITest() {}
......
......@@ -38,7 +38,7 @@ namespace automationInternal {
long nodeIdToClear;
// A vector of nodes to update according to the rules described in
// ui/accesibility/ax_tree_update.h.
// ui/accessibility/ax_tree_update.h.
AXNodeData[] nodes;
};
......
......@@ -1361,7 +1361,7 @@ NSDictionary* attributeToMethodNameMap = nil;
return NO;
}
// Returns whether or not this object should be ignored in the accessibilty
// Returns whether or not this object should be ignored in the accessibility
// tree.
- (BOOL)accessibilityIsIgnored {
if (!browserAccessibility_)
......@@ -1370,7 +1370,7 @@ NSDictionary* attributeToMethodNameMap = nil;
return [self isIgnored];
}
// Performs the given accessibilty action on the webkit accessibility object
// Performs the given accessibility action on the webkit accessibility object
// that backs this object.
- (void)accessibilityPerformAction:(NSString*)action {
if (!browserAccessibility_)
......
......@@ -138,7 +138,7 @@
},
"a11ymode": {
"type": "boolean",
"description": "True if accessbility virtual keyboard is enabled."
"description": "True if accessibility virtual keyboard is enabled."
},
"experimental": {
"type": "boolean",
......
......@@ -368,7 +368,7 @@ Polymer('kb-keyboard', {
* Otherwise, the keyboard layout for 'text' type will be loaded.
*/
inputTypeChanged: function() {
// Disable layout switching at accessbility mode.
// Disable layout switching at accessibility mode.
if (this.config && this.config.a11ymode)
return;
......
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