We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4ef7011 + 3c8fd1c commit 6302699Copy full SHA for 6302699
src/app/layout/header.tsx
@@ -17,16 +17,19 @@ const menus_list = [
17
name: "Home",
18
link: "/",
19
target: "_self",
20
+ label: "Home",
21
},
22
{
23
name: "Articles",
24
link: "/article",
25
26
+ label: "Articles",
27
28
29
img: TheInfiniteX,
- link: "https://x.com",
30
+ link: "https://x.com/The_Infinity_s/",
31
target: "_blank",
32
+ label: "X (Twitter)",
33
34
];
35
@@ -119,6 +122,7 @@ export default function Header() {
119
122
onClick={handleLinkClick}
120
123
target={menu.target} // target属性を追加
121
124
className={`${chakraPetch.className} block py-2 md:py-0 hover:text-[var(--foreground)]`}
125
+ aria-label={menu.label}
126
style={{
127
fontStyle: "italic",
128
}}
0 commit comments