Skip to content

Commit 7d4c031

Browse files
committed
fix(Notification close btn): hide btn from SR to improve UX
1 parent 4750338 commit 7d4c031

File tree

1 file changed

+1
-1
lines changed
  • packages/notifications/src/elements/content

1 file changed

+1
-1
lines changed

packages/notifications/src/elements/content/Close.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export const Close = React.forwardRef<HTMLButtonElement, ButtonHTMLAttributes<HT
2020
const hue = useNotificationsContext();
2121

2222
return (
23-
<StyledClose ref={ref} hue={hue} aria-label={ariaLabel} {...props}>
23+
<StyledClose ref={ref} hue={hue} aria-label={ariaLabel} {...props} aria-hidden>
2424
<XStrokeIcon />
2525
</StyledClose>
2626
);

0 commit comments

Comments
 (0)