a11y improvements

This commit is contained in:
Jack Merrill 2023-11-01 12:38:39 -04:00
parent 3eb42a820e
commit 01da52e855
No known key found for this signature in database
2 changed files with 8 additions and 1 deletions

View File

@ -38,6 +38,7 @@ export default function SpotifyNowPlaying() {
<img
src={nowPlaying.album.image}
className="rounded-xl w-10 h-10 absolute opacity-50"
alt={nowPlaying.album.name}
/>
<a
@ -45,6 +46,7 @@ export default function SpotifyNowPlaying() {
target="_blank"
rel="noreferrer"
className="z-50 text-white"
title="View on Last.fm"
>
<svg
xmlns="http://www.w3.org/2000/svg"

View File

@ -20,8 +20,13 @@ export default function WAIWO() {
href={`https://github.com/${repo.repo}`}
target="_blank"
rel="noreferrer"
title="View on GitHub"
>
<img className="flex-1 self-stretch rounded-xl" src={repo.image} />
<img
className="flex-1 self-stretch rounded-xl"
src={repo.image}
alt={repo.repo}
/>
</a>
) : (
<div className="block w-full h-40 rounded-xl bg-gray-200 animate-pulse"></div>