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

Unified Diff: chrome/browser/resources/chromeos/login/oobe_screen_user_image.js

Issue 7978055: Speak the name of the image selection screen when it's activated, if accessibility is turned on (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Change atomic to assertive Created 9 years, 3 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/chromeos/login/oobe_screen_user_image.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/chromeos/login/oobe_screen_user_image.js
diff --git a/chrome/browser/resources/chromeos/login/oobe_screen_user_image.js b/chrome/browser/resources/chromeos/login/oobe_screen_user_image.js
index 3f1cae2105c5b723334c9405428f3ca88adf71d4..1ac2b96bfca7a1ba33977330d0f806c96c533d4f 100644
--- a/chrome/browser/resources/chromeos/login/oobe_screen_user_image.js
+++ b/chrome/browser/resources/chromeos/login/oobe_screen_user_image.js
@@ -121,6 +121,10 @@ cr.define('oobe', function() {
onBeforeShow: function(data) {
Oobe.getInstance().headerHidden = true;
$('user-image-grid').updateAndFocus();
+
+ // Announce the name of the screen, if accessibility is on.
+ $('user-image-aria-label').setAttribute(
+ 'aria-label', localStrings.getString('userImageScreenTitle'));
},
};
« no previous file with comments | « chrome/browser/resources/chromeos/login/oobe_screen_user_image.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698