a11y improvements
This commit is contained in:
parent
3eb42a820e
commit
01da52e855
|
@ -38,6 +38,7 @@ export default function SpotifyNowPlaying() {
|
||||||
<img
|
<img
|
||||||
src={nowPlaying.album.image}
|
src={nowPlaying.album.image}
|
||||||
className="rounded-xl w-10 h-10 absolute opacity-50"
|
className="rounded-xl w-10 h-10 absolute opacity-50"
|
||||||
|
alt={nowPlaying.album.name}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<a
|
<a
|
||||||
|
@ -45,6 +46,7 @@ export default function SpotifyNowPlaying() {
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
className="z-50 text-white"
|
className="z-50 text-white"
|
||||||
|
title="View on Last.fm"
|
||||||
>
|
>
|
||||||
<svg
|
<svg
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
|
|
@ -20,8 +20,13 @@ export default function WAIWO() {
|
||||||
href={`https://github.com/${repo.repo}`}
|
href={`https://github.com/${repo.repo}`}
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noreferrer"
|
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>
|
</a>
|
||||||
) : (
|
) : (
|
||||||
<div className="block w-full h-40 rounded-xl bg-gray-200 animate-pulse"></div>
|
<div className="block w-full h-40 rounded-xl bg-gray-200 animate-pulse"></div>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user