Skip to content

Commit

Permalink
Issue#1902 added alt text to the navbar img tag (#1999)
Browse files Browse the repository at this point in the history
closes #1902 by adding alt text to the navbar logo image tag.
  • Loading branch information
SaumyaBhushan authored May 9, 2022
1 parent e664970 commit 26e1eee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/dashboard/app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<header>
<nav class="navbar navbar-expand-md shadow-sm navbar-color navbar-<%= Configuration.navbar_type %>" aria-label="Navigation">
<% if ENV['OOD_DASHBOARD_HEADER_IMG_LOGO'].present? %>
<a class="navbar-brand navbar-brand-logo" href="<%= root_path %>"><img class="img-fluid" src="<%= ENV['OOD_DASHBOARD_HEADER_IMG_LOGO'] %>"></a>
<a class="navbar-brand navbar-brand-logo" href="<%= root_path %>"><img class="img-fluid" src="<%= ENV['OOD_DASHBOARD_HEADER_IMG_LOGO'] %>" alt="<%= OodAppkit.dashboard.title.html_safe %>"></a>
<% else %>
<a class="navbar-brand" href="<%= root_path %>"><%= OodAppkit.dashboard.title.html_safe %></a>
<% end %>
Expand Down

0 comments on commit 26e1eee

Please sign in to comment.