mirror of
https://github.com/pheralb/svgl.git
synced 2025-02-12 02:00:31 +08:00
Merge pull request #223 from Eduardo282/comments-a-fixes-accesibility-issues
Comments a fixes accesibility issues
This commit is contained in:
commit
b617682f3c
@ -34,6 +34,7 @@
|
|||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<!--Se quito el aria-hidden="true" para que se pueda leer el contenido del card con el lector de pantalla -->
|
||||||
<article
|
<article
|
||||||
bind:this={domElement}
|
bind:this={domElement}
|
||||||
on:mousemove={handleMouseMove}
|
on:mousemove={handleMouseMove}
|
||||||
|
@ -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">
|
||||||
|
@ -173,6 +173,7 @@
|
|||||||
/>
|
/>
|
||||||
{/if}
|
{/if}
|
||||||
<!-- Title -->
|
<!-- Title -->
|
||||||
|
<!-- Aqui se modifico el text-neutral a 400 -->
|
||||||
<div class="mb-3 flex flex-col items-center justify-center">
|
<div class="mb-3 flex flex-col items-center justify-center">
|
||||||
<p class="truncate text-[15px] font-medium text-balance text-center select-all">
|
<p class="truncate text-[15px] font-medium text-balance text-center select-all">
|
||||||
{svgInfo.title}
|
{svgInfo.title}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user