From 6ec834ddc526ac50b6e40e58ce10a2cc377cb676 Mon Sep 17 00:00:00 2001 From: Liam Date: Wed, 8 Nov 2023 08:49:33 +0000 Subject: [PATCH] fix(ssr): add screen reader labels to buttons on player page --- src/components/player/PlayerInfo.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/player/PlayerInfo.tsx b/src/components/player/PlayerInfo.tsx index ebbe627..32cfa69 100644 --- a/src/components/player/PlayerInfo.tsx +++ b/src/components/player/PlayerInfo.tsx @@ -136,6 +136,7 @@ export default function PlayerInfo({ playerData }: PlayerInfoProps) { onClick={claimProfile} tooltip={

Set as your Profile

} icon={} + ariaLabel="Set as your Profile" /> )} @@ -147,6 +148,7 @@ export default function PlayerInfo({ playerData }: PlayerInfoProps) { tooltip={

Add as Friend

} icon={} color="bg-green-500" + ariaLabel="Add Friend" /> )} @@ -156,6 +158,7 @@ export default function PlayerInfo({ playerData }: PlayerInfoProps) { tooltip={

Remove Friend

} icon={} color="bg-red-500" + ariaLabel="Remove Friend" /> )}