diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-11-02 00:25:32 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-11-02 00:25:32 +0000 |
commit | e9ef3ac2f25bcb4565af90a2bcae2db7ff764034 (patch) | |
tree | bb09b11ed8f88ae84a714bedea936e7ecab6aeaa | |
parent | bbf9c0a674e3bc794657a05702f10ac2564c04bc (diff) | |
download | brdo-e9ef3ac2f25bcb4565af90a2bcae2db7ff764034.tar.gz brdo-e9ef3ac2f25bcb4565af90a2bcae2db7ff764034.tar.bz2 |
#541612 by mgifford: Added meaningful alt attribute to sortable table header links.
-rw-r--r-- | includes/theme.inc | 4 | ||||
-rw-r--r-- | themes/seven/template.php | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/includes/theme.inc b/includes/theme.inc index 8b5c4c41b..c70eb0092 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -1756,10 +1756,10 @@ function theme_table_select_header_cell() { */ function theme_tablesort_indicator($variables) { if ($variables['style'] == "asc") { - return theme('image', array('path' => 'misc/arrow-asc.png', 'alt' => t('sort icon'), 'title' => t('sort ascending'))); + return theme('image', array('path' => 'misc/arrow-asc.png', 'alt' => t('sort ascending'), 'title' => t('sort ascending'))); } else { - return theme('image', array('path' => 'misc/arrow-desc.png', 'alt' => t('sort icon'), 'title' => t('sort descending'))); + return theme('image', array('path' => 'misc/arrow-desc.png', 'alt' => t('sort descending'), 'title' => t('sort descending'))); } } diff --git a/themes/seven/template.php b/themes/seven/template.php index 1065b44cf..1bba3a979 100644 --- a/themes/seven/template.php +++ b/themes/seven/template.php @@ -63,10 +63,10 @@ function seven_tablesort_indicator($variables) { $style = $variables['style']; $theme_path = drupal_get_path('theme', 'seven'); if ($style == "asc") { - return theme('image', array('path' => $theme_path . '/images/arrow-asc.png', 'alt' => t('sort icon'), 'title' => t('sort ascending'))); + return theme('image', array('path' => $theme_path . '/images/arrow-asc.png', 'alt' => t('sort ascending'), 'title' => t('sort ascending'))); } else { - return theme('image', array('path' => $theme_path . '/images/arrow-desc.png', 'alt' => t('sort icon'), 'title' => t('sort descending'))); + return theme('image', array('path' => $theme_path . '/images/arrow-desc.png', 'alt' => t('sort descending'), 'title' => t('sort descending'))); } } |