File tree Expand file tree Collapse file tree 2 files changed +20
-4
lines changed
Expand file tree Collapse file tree 2 files changed +20
-4
lines changed Original file line number Diff line number Diff line change @@ -20,16 +20,28 @@ export default function Footer() {
2020 </ div >
2121
2222 < div className = "flex space-x-4" >
23- < FooterEntry href = "mailto:info@dominiktoth.com" >
23+ < FooterEntry
24+ href = "mailto:info@dominiktoth.com"
25+ platformName = "Email"
26+ >
2427 < Mail className = "text-white" />
2528 </ FooterEntry >
26- < FooterEntry href = "https://github.com/jake8655" >
29+ < FooterEntry
30+ href = "https://github.com/jake8655"
31+ platformName = "GitHub"
32+ >
2733 < SiGithub className = "text-white" />
2834 </ FooterEntry >
29- < FooterEntry href = "https://discord.com/users/300963276223807488" >
35+ < FooterEntry
36+ href = "https://discord.com/users/300963276223807488"
37+ platformName = "Discord"
38+ >
3039 < SiDiscord className = "text-discord-blue" />
3140 </ FooterEntry >
32- < FooterEntry href = "https://bsky.app/profile/dominiktoth.com" >
41+ < FooterEntry
42+ href = "https://bsky.app/profile/dominiktoth.com"
43+ platformName = "Bluesky"
44+ >
3345 < SiBluesky className = "text-bluesky-blue" />
3446 </ FooterEntry >
3547 </ div >
@@ -63,9 +75,11 @@ export default function Footer() {
6375
6476function FooterEntry ( {
6577 href,
78+ platformName,
6679 children,
6780} : {
6881 href : string ;
82+ platformName : string ;
6983 children : React . ReactNode ;
7084} ) {
7185 return (
@@ -74,6 +88,7 @@ function FooterEntry({
7488 target = "_blank"
7589 rel = "noopener noreferrer"
7690 className = "flex gap-2 text-sm transition-transform hover:scale-110 md:text-base"
91+ aria-label = { `Contact Dominik Tóth via ${ platformName } ` }
7792 >
7893 { children }
7994 </ a >
Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ export default function LocaleSwitcher({ className }: { className?: string }) {
4141 isPending && "transition-opacity [&:disabled]:opacity-30" ,
4242 className ,
4343 ) }
44+ aria-label = { t ( "label" ) }
4445 >
4546 < SelectValue placeholder = { t ( "label" ) } />
4647 </ SelectTrigger >
You can’t perform that action at this time.
0 commit comments