Skip to content

Commit e864995

Browse files
author
tkokhing
committed
Added aria-label navi-bar and themeswitcher
1 parent ae0823a commit e864995

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

src/app/_components/main_frame/navi_bar.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ export default function Navigationbar() {
6565
<a
6666
key={item.name}
6767
href={item.href}
68+
aria-label="NavigationBar"
6869
aria-current={selected === item.name ? 'page' : undefined}
6970
className={classNames(
7071
selected === item.name ? 'bg-gray-700 dark:bg-gray-600' : 'text-sky-800 hover:bg-gray-500',

src/app/_components/main_frame/theme-switcher.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ const Switch = () => {
8787
<button
8888
suppressHydrationWarning={true}
8989
className={styles.switch}
90+
aria-label="ThemeSwitch"
9091
onClick={handleModeSwitch}
9192
>
9293
</button>

0 commit comments

Comments
 (0)