Skip to content

Commit

Permalink
Add aria hidden for images to _blog.html.erb (#9191)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuta-KTD committed Feb 16, 2021
1 parent 294b7e7 commit 08bc520
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/dashboard_v2/_blog.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<div class="pt-2 d-block" >
<% if @blog %>
<% if @blog.main_image %>
<div class="img" style="background-image: url('<%= @blog.main_image.path(:large) %>')">
<div aria-hiddden = 'true' class="img" style="background-image: url('<%= @blog.main_image.path(:large) %>')">
<% elsif @blog.scraped_image %>
<div class="img" style="background-image: url('<%= @blog.scraped_image %>')">
<div aria-hiddden = 'true' class="img" style="background-image: url('<%= @blog.scraped_image %>')">
<% end %>
<%# subscribe to blog updates possibly via email %>
<a class="ellipsis pull-right pl-2" data-toggle="dropdown" rel="tooltip" title="<%= translation('tag.show.blog_updates') %>" style="cursor:pointer; background-color: #444" aria-expanded="true"><i class="fa fa-ellipsis-h" style="color:#ccc;font-size:18px;margin-right:10px;"></i></a>
Expand Down

0 comments on commit 08bc520

Please sign in to comment.