Skip to content

Commit

Permalink
fix(Notification): remove aria-hidden on close buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
emyarod committed Oct 23, 2024
1 parent ac558e1 commit 23d538f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/react/src/components/Notification/Notification.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,6 @@ export function ToastNotification({
<NotificationButton
notificationType="toast"
onClick={handleCloseButtonClick}
aria-hidden="true"
aria-label={deprecatedAriaLabel || ariaLabel}
/>
)}
Expand Down Expand Up @@ -738,7 +737,6 @@ export function InlineNotification({
<NotificationButton
notificationType="inline"
onClick={handleCloseButtonClick}
aria-hidden="true"
aria-label={ariaLabel}
/>
)}
Expand Down

0 comments on commit 23d538f

Please sign in to comment.