0
0
mirror of https://github.com/yude-jp/yude.jp synced 2024-12-23 04:30:11 +09:00

Add alt to images

This commit is contained in:
yude 2021-09-22 07:13:49 +09:00
parent a8186fb801
commit 24cf758cad
Signed by: yude
GPG Key ID: EB0FE5D925C4A968
4 changed files with 4 additions and 3 deletions

View File

@ -10,6 +10,7 @@ const happybusy = (props) => {
src="/images/brstrip.gif" src="/images/brstrip.gif"
width={150} width={150}
height={41} height={41}
alt="EFF Blue Ribbon Campaign"
/> />
</a> </a>
</Link> </Link>

View File

@ -10,6 +10,7 @@ const HappyBusy = (props) => {
src="/images/busy_banner.png" src="/images/busy_banner.png"
width={200} width={200}
height={42} height={42}
alt="時間のないサイト運営者リング"
/> />
</a> </a>
</Link> </Link>

View File

@ -54,7 +54,7 @@ export default function Minecraft(props) {
url.push('https://mc-heads.net/avatar/' + data.players.list[i]) url.push('https://mc-heads.net/avatar/' + data.players.list[i])
} }
for (var i in url){ for (var i in url){
list.push(<Image src={url[i]} key={i} className="inline" height="50" width="50" />) list.push(<Image src={url[i]} key={i} className="inline" height="50" width="50" alt={i}/>)
} }
return <div>{list}</div> return <div>{list}</div>
} }

View File

@ -53,8 +53,7 @@ export default function About(props) {
<div className="w-full"> <div className="w-full">
<Image <Image
src = "/images/dynmap.png" src = "/images/dynmap.png"
alt = "Dynmap Header" alt = "Minecraft brief world map generated by Dynmap"
unoptimized = {true}
width = {1354} width = {1354}
height = {619} height = {619}
/> />