- Patch #520734 by Everett Zufelt: for accessibility, theme_feed_icon could use more meaningful alt text.

merge-requests/26/head
Dries Buytaert 2009-08-22 15:55:37 +00:00
parent bfb487627e
commit 06d296d5f9
1 changed files with 1 additions and 1 deletions

View File

@ -1802,7 +1802,7 @@ function theme_more_help_link($url) {
* A descriptive title of the feed. * A descriptive title of the feed.
*/ */
function theme_feed_icon($url, $title) { function theme_feed_icon($url, $title) {
if ($image = theme('image', 'misc/feed.png', t('Syndicate content'), $title)) { if ($image = theme('image', 'misc/feed.png', t('Subscribe to %feed-title', array('%feed-title' => $title)))) {
return '<a href="' . check_url($url) . '" class="feed-icon">' . $image . '</a>'; return '<a href="' . check_url($url) . '" class="feed-icon">' . $image . '</a>';
} }
} }