Accessibility improved
This commit is contained in:
parent
1b42ad35cf
commit
8ad42cfa89
3 changed files with 708 additions and 1906 deletions
2610
package-lock.json
generated
2610
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -11,6 +11,6 @@
|
||||||
"astro": "astro"
|
"astro": "astro"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"astro": "^1.9.0"
|
"astro": "^2.0.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue