Skip to content

Commit 39f35ce

Browse files
committed
Removed the irrelevant aria-pressed attribute from the Hamburger component.
1 parent 6281a89 commit 39f35ce

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.changeset/early-cows-hide.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@sumup-oss/circuit-ui": patch
3+
---
4+
5+
Removed the irrelevant `aria-pressed` attribute from the Hamburger component.

packages/circuit-ui/components/Hamburger/Hamburger.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ export const Hamburger = forwardRef<any, HamburgerProps>(
112112
className={clsx(classes.button, className)}
113113
size={size}
114114
type="button"
115-
aria-pressed={isActive}
116115
ref={ref}
117116
>
118117
{isActive ? activeLabel : inactiveLabel}

0 commit comments

Comments
 (0)