|
1 | 1 | import styled from "@emotion/styled"; |
2 | | -import { useEmail } from "../../../hooks/useEmail"; |
3 | | -import MessageIcon from "../../../assets/Footer/message.svg?react"; |
4 | | -import FacebookIcon from "../../../assets/Footer/facebook.svg?react"; |
5 | | -import YoutubeIcon from "../../../assets/Footer/youtube.svg?react"; |
6 | | -import XIcon from "../../../assets/Footer/x.svg?react"; |
7 | | -import GithubIcon from "../../../assets/Footer/github.svg?react"; |
8 | | -import InstagramIcon from "../../../assets/Footer/instagram.svg?react"; |
9 | | -import LinkedinIcon from "../../../assets/Footer/linkedin.svg?react"; |
10 | | -import BlogIcon from "../../../assets/Footer/blog.svg?react"; |
11 | | -import FlickrIcon from "../../../assets/Footer/flickr.svg?react"; |
| 2 | +import { useEmail } from "@/hooks/useEmail"; |
| 3 | +import MessageIcon from "@/assets/Footer/message.svg?react"; |
| 4 | +import FacebookIcon from "@/assets/Footer/facebook.svg?react"; |
| 5 | +import YoutubeIcon from "@/assets/Footer/youtube.svg?react"; |
| 6 | +import XIcon from "@/assets/Footer/x.svg?react"; |
| 7 | +import GithubIcon from "@/assets/Footer/github.svg?react"; |
| 8 | +import InstagramIcon from "@/assets/Footer/instagram.svg?react"; |
| 9 | +import LinkedinIcon from "@/assets/Footer/linkedin.svg?react"; |
| 10 | +import BlogIcon from "@/assets/Footer/blog.svg?react"; |
| 11 | +import FlickrIcon from "@/assets/Footer/flickr.svg?react"; |
12 | 12 |
|
13 | 13 | interface LinkItem { |
14 | 14 | text: string; |
@@ -89,17 +89,18 @@ export default function Footer({ |
89 | 89 | ))} |
90 | 90 | </FooterLinks> |
91 | 91 | <FooterIcons> |
92 | | - <IconLink onClick={sendEmail}> |
93 | | - <MessageIcon width={20} height={20} /> |
| 92 | + <IconLink onClick={sendEmail} aria-label="이메일 보내기"> |
| 93 | + <MessageIcon width={20} height={20} aria-hidden="true" /> |
94 | 94 | </IconLink> |
95 | 95 | {icons.map((icon) => ( |
96 | 96 | <IconLink |
97 | 97 | key={icon.alt} |
98 | 98 | href={icon.href} |
99 | 99 | target="_blank" |
100 | 100 | rel="noopener noreferrer" |
| 101 | + aria-label={`${icon.alt}로 이동`} |
101 | 102 | > |
102 | | - <icon.icon width={20} height={20} /> |
| 103 | + <icon.icon width={20} height={20} aria-hidden="true" /> |
103 | 104 | </IconLink> |
104 | 105 | ))} |
105 | 106 | </FooterIcons> |
|
0 commit comments