Adds a11y compliance

This commit is contained in:
Daniel Svitan 2025-05-01 13:04:25 +02:00
parent 47dda6f8ec
commit 4906b8f633
3 changed files with 8 additions and 8 deletions

View File

Before

Width:  |  Height:  |  Size: 673 B

After

Width:  |  Height:  |  Size: 673 B

View File

@ -8,7 +8,7 @@ const {link, icon} = Astro.props
---
<a href={link} target="_blank">
<img src={icon ?? "/arrow-up-right-from-square.svg"}
<img src={icon ?? "/icons/arrow-up-right-from-square.svg"}
alt="Arrow going to the top right from the center of a square, representing a link"
class="w-4 h-4"
/>

View File

@ -50,13 +50,13 @@ if (now.getMonth() > 7 || (now.getMonth() === 7 && now.getDate() >= 23)) {
<div class="w-screen h-full flex items-center justify-start flex-col">
<div class="w-1 h-10 shrink-0"/>
<div class="w-[50vw] border-solid border-black border-1 p-1 shrink-0">
<main class="w-[50vw] border-solid border-black border-1 p-1 shrink-0">
<p>Note: this page has been kept simple in favor of accessibility</p>
<div class="h-4"/>
<p class="text-xl">Hi, I'm <span class="font-bold">Daniel Svitaň</span>, an {years} year-old aspiring
engineer</p>
<h1 class="text-xl">Hi, I'm <span class="font-bold">Daniel Svitaň</span>, an {years} year-old aspiring
engineer</h1>
<p>I currently reside in Bratislava, Slovakia</p>
<p>Contacts:
<a href="mailto:selfsigned-ash@proton.me" target="_blank" class="underline">selfsigned-ash@proton.me</a>
@ -69,7 +69,7 @@ if (now.getMonth() > 7 || (now.getMonth() === 7 && now.getDate() >= 23)) {
<div class="h-6"/>
<p class="text-lg">Experience:</p>
<h2 class="text-lg">Experience:</h2>
<table class="w-full">
<tr>
<th class="w-44">When</th>
@ -101,7 +101,7 @@ if (now.getMonth() > 7 || (now.getMonth() === 7 && now.getDate() >= 23)) {
<div class="h-6"/>
<p class="text-lg">Some of my projects:</p>
<h2 class="text-lg">Some of my projects:</h2>
<table class="w-full">
<tr>
<th class="w-60">Name</th>
@ -218,7 +218,7 @@ if (now.getMonth() > 7 || (now.getMonth() === 7 && now.getDate() >= 23)) {
<div class="h-6"/>
<p class="text-lg">Skills:</p>
<h2 class="text-lg">Skills:</h2>
<ul class="ml-4">
<li>Languages: Slovak (native), Czech (Native), English (C1), German (B1)</li>
<li>Frontend: HTML, CSS/SCSS, JavaScript/TypeScript, TailWindCSS, React, Vue, Nuxt</li>
@ -244,7 +244,7 @@ if (now.getMonth() > 7 || (now.getMonth() === 7 && now.getDate() >= 23)) {
<p>Note: the source code of this website is available <a
href="https://gitea.svitan.dev/Streamer272/svitan.dev" target="_blank" class="underline">here</a></p>
</div>
</main>
<div class="w-1 h-10 shrink-0"/>
</div>