Accessibility improved

This commit is contained in:
Firq 2023-01-27 11:16:01 +01:00
parent 1b42ad35cf
commit 8ad42cfa89
Signed by: Firq
GPG key ID: 4DE1059A4666E89F
3 changed files with 708 additions and 1906 deletions

2610
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -11,6 +11,6 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"astro": "^1.9.0" "astro": "^2.0.2"
} }
} }

View file

@ -9,7 +9,7 @@ const { image, link, title } = Astro.props;
const icon: string = `background: url('ta_icons/${image}.png')` const icon: string = `background: url('ta_icons/${image}.png')`
--- ---
<a href={link} target="_blank" rel="noopener noreferrer"> <a href={link} target="_blank" rel="noopener noreferrer" aria-label={title}>
<article> <article>
<div style={icon}> <div style={icon}>
<h2>{title}</h2> <h2>{title}</h2>