- <%= image_tag(proposal.image&.variant(:large).presence || "default_mailing.jpg") %>
+ <% if proposal.image.present? %>
+ <%= image_tag(proposal.image.variant(:large), alt: proposal.image.title.unicode_normalize) %>
+ <% else %>
+ <%= image_tag("default_mailing.jpg", alt: "") %>
+ <% end %>
diff --git a/app/views/dashboard/poster/index.html.erb b/app/views/dashboard/poster/index.html.erb
index bbd988356..e8e7112cd 100644
--- a/app/views/dashboard/poster/index.html.erb
+++ b/app/views/dashboard/poster/index.html.erb
@@ -6,7 +6,7 @@
<%= t("dashboard.poster.index.poster_title") %>
- <%= image_tag("finger.png") %>
+ <%= image_tag("finger.png", alt: "") %>
<%= t("dashboard.poster.index.poster_subtitle") %>
@@ -25,9 +25,9 @@
<%= t("dashboard.poster.index.support") %>
- <%= image_tag "quote_before_blue.png" %>
+ <%= image_tag "quote_before_blue.png", alt: "" %>
<%= proposal.title %>
- <%= image_tag "quote_after_blue.png" %>
+ <%= image_tag "quote_after_blue.png", alt: "" %>
diff --git a/app/views/dashboard/poster/index.pdf.erb b/app/views/dashboard/poster/index.pdf.erb
index 7c4eaebe1..9a8b0e383 100644
--- a/app/views/dashboard/poster/index.pdf.erb
+++ b/app/views/dashboard/poster/index.pdf.erb
@@ -11,7 +11,7 @@
<%= t("dashboard.poster.index.poster_title") %>
- <%= wicked_pdf_image_tag("finger.png") %>
+ <%= wicked_pdf_image_tag("finger.png", alt: "") %>
<%= t("dashboard.poster.index.poster_subtitle") %>
@@ -30,9 +30,9 @@
<%= t("dashboard.poster.index.support") %>
- <%= wicked_pdf_image_tag "quote_before_blue.png" %>
+ <%= wicked_pdf_image_tag "quote_before_blue.png", alt: "" %>
<%= proposal.title %>
- <%= wicked_pdf_image_tag "quote_after_blue.png" %>
+ <%= wicked_pdf_image_tag "quote_after_blue.png", alt: "" %>
diff --git a/app/views/proposals/map.html.erb b/app/views/proposals/map.html.erb
index dde4a610f..261cd49ef 100644
--- a/app/views/proposals/map.html.erb
+++ b/app/views/proposals/map.html.erb
@@ -13,7 +13,7 @@
- <%= image_tag(image_path_for("map.jpg"), usemap: "#map") %>
+ <%= image_tag(image_path_for("map.jpg"), alt: t("shared.tags_cloud.districts_list"), usemap: "#map") %>