Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ae4de34

Browse files
committed
feat: add screen reader info for hambuger button
1 parent 209b714 commit ae4de34

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

src/app/components/nav/hamburger.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ const HamburgerButton: React.FC<HamburgerButtonProps> = ({
99
}) => {
1010
return (
1111
<button
12+
aria-label="Toggle navigation bar menu"
1213
className={`p-0 flex bg-transparent cursor-pointer ${isOpened ? 'ham-opened' : ''}`}
1314
onClick={onClick}
1415
>

src/app/components/protos/hero-section.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,10 @@ import { Button } from '../ui/button';
217217

218218
/* eslint-disable */
219219

220+
/* eslint-disable */
221+
222+
/* eslint-disable */
223+
220224
function TypingAnimation() {
221225
const el = useRef(null);
222226

src/app/components/reusables/code/code-block.tsx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -466,6 +466,16 @@ import CopyButton from './copy-code';
466466
/* eslint-disable */
467467
// @ts-nocheck
468468

469+
// react-syntax-highlighter has no types
470+
471+
/* eslint-disable */
472+
// @ts-nocheck
473+
474+
// react-syntax-highlighter has no types
475+
476+
/* eslint-disable */
477+
// @ts-nocheck
478+
469479
// react-syntax-highlighter has no types
470480
/* eslint-disable */
471481
// @ts-nocheck

0 commit comments

Comments
 (0)