From 97e17759385d1a2b899b9e2be330969633a513d6 Mon Sep 17 00:00:00 2001 From: Gonzalo Rodriguez Date: Mon, 3 Oct 2011 23:33:32 -0200 Subject: [PATCH] Adding alt text for header icons. Related to #2089. --- app/views/layouts/_header.html.haml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/views/layouts/_header.html.haml b/app/views/layouts/_header.html.haml index 8386be2e1..c3588cf7b 100644 --- a/app/views/layouts/_header.html.haml +++ b/app/views/layouts/_header.html.haml @@ -24,21 +24,21 @@ #nav_badges #home_badge.badge = link_to aspects_path, :title => t('_home') do - = image_tag 'icons/home_grey.svg', :height => 16 + = image_tag 'icons/home_grey.svg', :height => 16, :alt => t('_home') #contacts_badge.badge = link_to contacts_link, :title => t('_contacts') do - = image_tag 'icons/contacts_grey.svg', :height => 16 + = image_tag 'icons/contacts_grey.svg', :height => 16, :alt => t('_contacts') #notification_badge.badge = link_to notifications_path, :title => new_notification_text(@notification_count) do - = image_tag 'icons/notifications_grey.svg', :height => 16, :id => "notification-flag" + = image_tag 'icons/notifications_grey.svg', :height => 16, :id => "notification-flag", :alt => new_notification_text(@notification_count) .badge_count{:class => ("hidden" if @notification_count == 0)} = @notification_count #message_inbox_badge.badge - = link_to conversations_path , :title => new_message_text(@unread_message_count) do - = image_tag 'icons/mail_grey.svg', :width => 18 + = link_to conversations_path, :title => new_message_text(@unread_message_count) do + = image_tag 'icons/mail_grey.svg', :width => 18, :alt => new_message_text(@unread_message_count) .badge_count{:class => ("hidden" if @unread_message_count == 0)} = @unread_message_count