Skip to content

Commit

Permalink
fix(filtertag): fix a11y errors
Browse files Browse the repository at this point in the history
  • Loading branch information
masoudmanson committed Apr 3, 2024
1 parent fcac667 commit 088dad4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/components/src/core/TagFilter/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,15 @@ export type TagFilterProps = SdsTagFilterProps;
const TagFilter = (props: SdsTagFilterProps): JSX.Element => {
return (
<StyledTag
role="none presentation"
{...props}
deleteIcon={
<ButtonIcon icon="XMark" sdsSize="small" sdsType="tertiary" />
<ButtonIcon
aria-label="Delete Tag"
icon="XMark"
sdsSize="small"
sdsType="tertiary"
/>
}
color="info"
/>
Expand Down

0 comments on commit 088dad4

Please sign in to comment.