From da055dc819cc266c5ecb46ffc02bf611eb8bcc27 Mon Sep 17 00:00:00 2001 From: Sarah Higley Date: Thu, 15 Jun 2023 17:50:36 -0700 Subject: [PATCH] fix: Alert example missing aria-label for icon --- .../react-alert/stories/Alert/AlertAction.stories.tsx | 3 ++- .../react-alert/stories/Alert/AlertAvatar.stories.tsx | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/react-components/react-alert/stories/Alert/AlertAction.stories.tsx b/packages/react-components/react-alert/stories/Alert/AlertAction.stories.tsx index 3458c4dea1f502..b220aaa5a79e90 100644 --- a/packages/react-components/react-alert/stories/Alert/AlertAction.stories.tsx +++ b/packages/react-components/react-alert/stories/Alert/AlertAction.stories.tsx @@ -11,7 +11,8 @@ export const Action = () => ( , + icon: , + 'aria-label': 'dismiss message', }} > Save failed diff --git a/packages/react-components/react-alert/stories/Alert/AlertAvatar.stories.tsx b/packages/react-components/react-alert/stories/Alert/AlertAvatar.stories.tsx index 70856a17ad8f20..7dc6449b48288c 100644 --- a/packages/react-components/react-alert/stories/Alert/AlertAvatar.stories.tsx +++ b/packages/react-components/react-alert/stories/Alert/AlertAvatar.stories.tsx @@ -11,6 +11,7 @@ export const Avatar = () => ( , + 'aria-label': 'dismiss message', }} avatar={{ name: 'John Smith', size: 24, color: 'dark-green' }} >