Skip to content

Commit

Permalink
Mark the card image as aria-hidden as per a11y audit
Browse files Browse the repository at this point in the history
  • Loading branch information
ahukkanen committed Nov 14, 2023
1 parent f50edb6 commit d273264
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/cells/decidim/ideas/idea_m/image.erb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<% if resource_image_path.present? %>
<%= image_tag resource_image_path, class: "card__image", alt: title %>
<%= image_tag resource_image_path, class: "card__image", alt: title, aria: { hidden: true } %>
<% end %>

0 comments on commit d273264

Please sign in to comment.