Closed ashleyryan closed 2 years ago
Signed-off-by: Ashley Ryan asryan@vmware.com
Please check if your PR fulfills the following requirements:
What kind of change does this PR introduce?
The icon used a title attribute to denote the status of the alert, which is not accessible to keyboard users.
title
The icon has role="img" and uses aria-label to match Core Alerts behavior: https://clarity.design/storybook/core/?path=/story/components-alert--page
role="img"
aria-label
Signed-off-by: Ashley Ryan asryan@vmware.com
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
The icon used a
title
attribute to denote the status of the alert, which is not accessible to keyboard users.What is the new behavior?
The icon has
role="img"
and usesaria-label
to match Core Alerts behavior: https://clarity.design/storybook/core/?path=/story/components-alert--pageDoes this PR introduce a breaking change?
Other information