diff options
author | dpapad@chromium.org <dpapad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-25 22:53:40 +0000 |
---|---|---|
committer | dpapad@chromium.org <dpapad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-25 22:53:40 +0000 |
commit | 897124057c751d02db8cd7c34a9b4ed0bf901881 (patch) | |
tree | c2dafef198d2683e28474a3ecce3e45edfc55d3a /chrome/browser/resources/print_preview | |
parent | e577c5944e7a1f073b0b9ce5731fdf98fe81ec21 (diff) | |
download | chromium_src-897124057c751d02db8cd7c34a9b4ed0bf901881.zip chromium_src-897124057c751d02db8cd7c34a9b4ed0bf901881.tar.gz chromium_src-897124057c751d02db8cd7c34a9b4ed0bf901881.tar.bz2 |
Print Preview: Adding aria-labels for the margin textboxes
BUG=101517
TEST=NONE
Review URL: http://codereview.chromium.org/8390013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107222 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/resources/print_preview')
-rw-r--r-- | chrome/browser/resources/print_preview/margin_textbox.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/resources/print_preview/margin_textbox.js b/chrome/browser/resources/print_preview/margin_textbox.js index 3f3e80d..ec1944b 100644 --- a/chrome/browser/resources/print_preview/margin_textbox.js +++ b/chrome/browser/resources/print_preview/margin_textbox.js @@ -11,6 +11,7 @@ cr.define('print_preview', function() { box.setAttribute('type', 'text'); box.className = MarginTextbox.CSS_CLASS_MARGIN_TEXTBOX; box.value = '0'; + box.setAttribute('aria-label', localStrings.getString(groupName)); // @type {string} Specifies which margin this line refers to. box.marginGroup = groupName; |