fix: accessibility

This commit is contained in:
Konstantin 2024-12-01 14:40:58 +01:00
parent 6e63965602
commit 6d7dd1f2af
Signed by: konstantin
GPG key ID: A128B78773E41ACE
2 changed files with 9 additions and 9 deletions

View file

@ -9,13 +9,13 @@
> >
<figure class="w-1/2" style="min-width: 24rem"> <figure class="w-1/2" style="min-width: 24rem">
<figcaption class="sr-only"> <figcaption class="sr-only">
Drawing of my computer desk where we see a computer with an open Terminal Hero image
</figcaption>
<img src="/static/images/my-office.png" alt="Drawing of my computer desk where we see a computer with an open Terminal
with Elixir code snippets. On the shelf behind we can see programming with Elixir code snippets. On the shelf behind we can see programming
books for Rust, Elixir and JavaScript. The books are arranges vertically books for Rust, Elixir and JavaScript. The books are arranges vertically
next to a small flower pot. The flower has big green leaves. A cup of next to a small flower pot. The flower has big green leaves. A cup of
steaming coffee sits on the desk, to the left of the computer. The cup has a Python logo on it. steaming coffee sits on the desk, to the left of the computer. The cup has a Python logo on it." />
</figcaption>
<img src="/static/images/my-office.png" />
</figure> </figure>
<section class="w-100 text-lg dark:text-white mx-2"> <section class="w-100 text-lg dark:text-white mx-2">
<h1 <h1
@ -25,8 +25,8 @@
><img ><img
width="48px" width="48px"
height="48px" height="48px"
src="static/images/waving-hand-sign_1f44b.png" /></span alt="waving hand emoji"
>Hi! I'm Konstantin src="static/images/waving-hand-sign_1f44b.png" /></span>Hi! I'm Konstantin
</h1> </h1>
</section> </section>
@ -50,7 +50,7 @@
<ul class="mx-auto mt-8 grid max-w-2xl grid-cols-1 gap-x-8 gap-y-20 lg:mx-0 lg:max-w-none lg:grid-cols-3"> <ul class="mx-auto mt-8 grid max-w-2xl grid-cols-1 gap-x-8 gap-y-20 lg:mx-0 lg:max-w-none lg:grid-cols-3">
{% for post in recent_blog_items %} {% for post in recent_blog_items %}
{% with post=post.specific %} {% with post=post.specific %}
<article class="flex flex-col items-center justify-start max-w-xl"> <li class="flex flex-col items-center justify-start max-w-xl">
<div class="group relative w-full"> <div class="group relative w-full">
<h3 class=""> <h3 class="">
<a href="{% pageurl post %}"> <a href="{% pageurl post %}">
@ -69,7 +69,7 @@
<div class="absolute inset-0 rounded-2xl ring-1 ring-inset ring-gray-900/10"></div> <div class="absolute inset-0 rounded-2xl ring-1 ring-inset ring-gray-900/10"></div>
</div> </div>
{% endif %} {% endif %}
</article> </li>
{% endwith %} {% endwith %}
{% endfor %} {% endfor %}
</ul> </ul>

View file

@ -1,4 +1,4 @@
<div class="py-16 sm:py-24 lg:py-32"> <div class="py-16 sm:py-24 lg:py-32">
<iframe data-w-type="embedded" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://sgx7y.mjt.lu/wgt/sgx7y/xtn1/form?c=c9b8015e" width="100%" style="height: 0;"></iframe> <iframe data-w-type="embedded" title="Newsletter" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://sgx7y.mjt.lu/wgt/sgx7y/xtn1/form?c=c9b8015e" width="100%" style="height: 0;"></iframe>
<script type="text/javascript" src="https://app.mailjet.com/pas-nc-embedded-v1.js"></script> <script type="text/javascript" src="https://app.mailjet.com/pas-nc-embedded-v1.js"></script>
</div> </div>