Skip to content

Commit

Permalink
fix: Alert example missing aria-label for icon (#28234)
Browse files Browse the repository at this point in the history
  • Loading branch information
smhigley authored Jun 16, 2023
1 parent 4dedf40 commit 4ccaa77
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ export const Action = () => (
<Alert
intent="error"
action={{
icon: <DismissCircleRegular aria-label="dismiss message" />,
icon: <DismissCircleRegular />,
'aria-label': 'dismiss message',
}}
>
Save failed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export const Avatar = () => (
<Alert
action={{
icon: <DismissCircleRegular />,
'aria-label': 'dismiss message',
}}
avatar={{ name: 'John Smith', size: 24, color: 'dark-green' }}
>
Expand Down

0 comments on commit 4ccaa77

Please sign in to comment.