Skip to content
This repository was archived by the owner on Dec 26, 2023. It is now read-only.

Commit 92dd7e8

Browse files
committed
refactor: improve social links descriptiveness
1 parent dcd9c7d commit 92dd7e8

File tree

1 file changed

+19
-3
lines changed

1 file changed

+19
-3
lines changed

frontend/src/pages/index.tsx

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import {
1313
Text,
1414
UnorderedList,
1515
useBreakpointValue,
16+
VisuallyHidden,
1617
VStack,
1718
} from '@chakra-ui/react';
1819
import { serverSideTranslations } from 'next-i18next/serverSideTranslations';
@@ -123,16 +124,31 @@ export default function IndexPage() {
123124
href="https://twitter.com/developer_dao"
124125
label="Twitter"
125126
>
126-
<FaTwitter />
127+
<>
128+
<FaTwitter />
129+
<VisuallyHidden>
130+
Opens the Discord DAO Twitter in the current tab
131+
</VisuallyHidden>
132+
</>
127133
</SocialIconLink>
128134
<SocialIconLink href="https://discord.gg/devdao" label="Discord">
129-
<FaDiscord />
135+
<>
136+
<FaDiscord />
137+
<VisuallyHidden>
138+
Opens the Discord DAO Discord in the current tab
139+
</VisuallyHidden>
140+
</>
130141
</SocialIconLink>
131142
<SocialIconLink
132143
href="https://github.com/Developer-DAO"
133144
label="GitHub"
134145
>
135-
<FaGithub />
146+
<>
147+
<FaGithub />
148+
<VisuallyHidden>
149+
Opens the Discord DAO GitHub organization in the current tab
150+
</VisuallyHidden>
151+
</>
136152
</SocialIconLink>
137153
</HStack>
138154

0 commit comments

Comments
 (0)