summaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authortbarzic <tbarzic@chromium.org>2015-06-19 10:15:41 -0700
committerCommit bot <commit-bot@chromium.org>2015-06-19 17:16:19 +0000
commite313597b5b747750dfd75d97559c2b5dba1836a8 (patch)
tree3d057f2ac890418509f6737cdff4c2a73644e343 /ui
parentb2e181d5912bdf2bcb80887ff393f43f3b931e3f (diff)
downloadchromium_src-e313597b5b747750dfd75d97559c2b5dba1836a8.zip
chromium_src-e313597b5b747750dfd75d97559c2b5dba1836a8.tar.gz
chromium_src-e313597b5b747750dfd75d97559c2b5dba1836a8.tar.bz2
Small a11y cleanup in webstore widget
Sets dialog buttons labels to silence a11y audit warnings (the buttons should not be reachable by keyboard) Set label for spinner layer when it's shown. Review URL: https://codereview.chromium.org/1182223005 Cr-Commit-Position: refs/heads/master@{#335276}
Diffstat (limited to 'ui')
-rw-r--r--ui/file_manager/file_manager/foreground/js/ui/suggest_apps_dialog.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/file_manager/file_manager/foreground/js/ui/suggest_apps_dialog.js b/ui/file_manager/file_manager/foreground/js/ui/suggest_apps_dialog.js
index a6bf16a..fa9252b 100644
--- a/ui/file_manager/file_manager/foreground/js/ui/suggest_apps_dialog.js
+++ b/ui/file_manager/file_manager/foreground/js/ui/suggest_apps_dialog.js
@@ -132,7 +132,9 @@ SuggestAppsDialog.prototype.createWidgetPlatformDelegate_ = function() {
strings: {
UI_LOCALE: util.getCurrentLocaleOrDefault(),
LINK_TO_WEBSTORE: str('SUGGEST_DIALOG_LINK_TO_WEBSTORE'),
- INSTALLATION_FAILED_MESSAGE: str('SUGGEST_DIALOG_INSTALLATION_FAILED')
+ INSTALLATION_FAILED_MESSAGE: str('SUGGEST_DIALOG_INSTALLATION_FAILED'),
+ LOADING_SPINNER_ALT: str('SUGGEST_DIALOG_LOADING_SPINNER_ALT'),
+ INSTALLING_SPINNER_ALT: str('SUGGEST_DIALOG_INSTALLING_SPINNER_ALT')
},
metricsImpl: metrics,