- Patch #520734 by Everett Zufelt: for accessibility, theme_feed_icon could use more meaningful alt text.
parent
bfb487627e
commit
06d296d5f9
|
@ -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>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue