Created alt text

Missing alt text for nav bar icons
This commit is contained in:
LeJun
2021-08-06 19:18:21 +02:00
committed by GitHub
parent 2e900194ee
commit afbde883d7

View File

@@ -3,13 +3,13 @@
- if signed_in?
%li.nav-item
= link_to timeline_index_path, method: :get, class: 'nav-link text-white' do
= image_tag 'icons/notification.svg', class: 'img img-icon'
= image_tag 'icons/notification.svg', alt: 'Timeline', class: 'img img-icon'
%li.nav-item
= link_to member_gardens_path(current_member), class: 'nav-link text-white' do
= image_icon 'gardens'
= image_icon 'gardens', alt: 'My gardens'
%li.nav-item.dropdown
%a.nav-link.dropdown-toggle{"aria-expanded" => "false", "aria-haspopup" => "true", "data-toggle" => "dropdown", href: "#", role: "button"}
= image_tag "icons/gardener.svg", class: 'img img-icon'
= image_tag "icons/gardener.svg", alt: 'New record', class: 'img img-icon'
= t('.record')
.dropdown-menu
= link_to new_planting_path, class: 'dropdown-item' do