Add alt tags to images

pull/44/head
Uku Taht 7 years ago
parent 973f20c6d6
commit 8af1714ea0

@ -1,7 +1,7 @@
<footer class="w-full text-center text-gray-500 p-8 bottom-0" style="background: #191e38;">
<div class="container flex items-center justify-between flex-col md:flex-row py-4">
<div class="text-center md:text-left">
<%= img_tag(PlausibleWeb.Router.Helpers.static_path(@conn, "/images/icon/plausible_logo_inverted.png"), style: "height: 2.5rem;") %>
<%= img_tag(PlausibleWeb.Router.Helpers.static_path(@conn, "/images/icon/plausible_logo_inverted.png"), style: "height: 2.5rem;", alt: "Plausible logo") %>
<p class="mt-2">Made by <a href="https://twitter.com/ukutaht" class="light-text underline">@ukutaht</a> in London, UK</p>
</div>
<ul class="text-center md:text-left my-4 md:m-0">

@ -16,7 +16,7 @@
<nav class="container flex items-center justify-between flex-wrap py-8">
<div class="flex items-center flex-shrink-0">
<a href="/">
<%= img_tag(PlausibleWeb.Router.Helpers.static_path(@conn, "/images/icon/plausible_logo.png"), style: "height: 2.5rem;") %>
<%= img_tag(PlausibleWeb.Router.Helpers.static_path(@conn, "/images/icon/plausible_logo.png"), style: "height: 2.5rem;", alt: "Plausible logo") %>
</a>
</div>
<%= cond do %>

@ -14,7 +14,7 @@
<%= render("_svg_icons.html") %>
<div class="text-center w-full my-8">
<a href="/">
<%= img_tag(PlausibleWeb.Router.Helpers.static_path(@conn, "/images/icon/plausible_logo.png"), class: "inline", style: "height: 2.5rem;") %>
<%= img_tag(PlausibleWeb.Router.Helpers.static_path(@conn, "/images/icon/plausible_logo.png"), class: "inline", style: "height: 2.5rem;", alt: "Plausible logo") %>
</a>
</div>

@ -265,7 +265,7 @@
<p class="text-lg">Plausible is focused on exactly what I need: clear insights into my site visitors, without getting in my way</p>
<div class="mt-2 md:mt-4 flex items-center justify-start">
<a href="https://www.felipesere.com/">
<%= img_tag(PlausibleWeb.Router.Helpers.static_path(@conn, "/images/testimonials/felipe.jpg"), class: "inline w-12 h-12 object-cover rounded-full mr-3") %>
<%= img_tag(PlausibleWeb.Router.Helpers.static_path(@conn, "/images/testimonials/felipe.jpg"), class: "inline w-12 h-12 object-cover rounded-full mr-3", alt: "Image of Felipe Sere") %>
</a>
<div>
<a href="https://www.felipesere.com/">
@ -283,7 +283,7 @@
<p class="text-lg">All the stats you need in a single page. Plausible's user experience and user interface are the stark opposite of Google Analytics.</p>
<div class="mt-2 md:mt-4 flex items-center justify-start">
<a href="https://makisotman.com/">
<%= img_tag(PlausibleWeb.Router.Helpers.static_path(@conn, "/images/testimonials/makis.jpg"), class: "inline w-12 h-12 rounded-full mr-3") %>
<%= img_tag(PlausibleWeb.Router.Helpers.static_path(@conn, "/images/testimonials/makis.jpg"), class: "inline w-12 h-12 rounded-full mr-3", alt: "Image of Makis Otman") %>
</a>
<div>
<a href="https://makisotman.com/">
@ -301,7 +301,7 @@
<p class="text-lg">I love Plausible because it is lightweight and looks beautiful. It shows me all the statistics that I need in a simple and unique style.</p>
<div class="mt-2 md:mt-4 flex items-center justify-start">
<a href="https://www.schranz.io/">
<%= img_tag(PlausibleWeb.Router.Helpers.static_path(@conn, "/images/testimonials/markus.jpg"), class: "inline w-12 h-12 rounded-full mr-3") %>
<%= img_tag(PlausibleWeb.Router.Helpers.static_path(@conn, "/images/testimonials/markus.jpg"), class: "inline w-12 h-12 rounded-full mr-3", alt: "Image of Markus Schranz") %>
</a>
<div>
<a href="https://www.schranz.io/"><h4>Markus Schranz</h4></a>

Loading…
Cancel
Save