Add aria-labels to links 👨‍🦽

This commit is contained in:
Eduardo 2024-01-21 17:30:20 -06:00
parent 780313ef37
commit 3dd32cfeec

View File

@ -8,6 +8,7 @@
import { ArrowUpRight, CloudyIcon, GithubIcon } from 'lucide-svelte'; import { ArrowUpRight, CloudyIcon, GithubIcon } from 'lucide-svelte';
import XIcon from './xIcon.svelte'; import XIcon from './xIcon.svelte';
// Se le pusieron aria-labels a los links
const socials = [ const socials = [
{ {
name: 'GitHub', name: 'GitHub',
@ -49,6 +50,7 @@
'backdrop-blur-md opacity-95' 'backdrop-blur-md opacity-95'
)} )}
> >
<!-- Se le puso un aria-label al href="/" -->
<div class="flex items-center justify-between mx-auto"> <div class="flex items-center justify-between mx-auto">
<div class="flex items-center space-x-2"> <div class="flex items-center space-x-2">
<a href="/" aria-label="Go to the SVGL v4.0 home page"> <a href="/" aria-label="Go to the SVGL v4.0 home page">