Skip to content

Commit

Permalink
fix: added aria label to dashboard threshold delete button
Browse files Browse the repository at this point in the history
  • Loading branch information
chejimmy authored and diehbria committed Dec 18, 2023
1 parent 7cc9576 commit ff94bb0
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,13 @@ export const ThresholdComponent: FC<{
</Box>
</SpaceBetween>
</div>
<Button iconName='remove' variant='icon' onClick={onDelete} data-test-id='threshold-component-delete-button' />
<Button
ariaLabel='delete threshold'
iconName='remove'
variant='icon'
onClick={onDelete}
data-test-id='threshold-component-delete-button'
/>
</div>
);
};

0 comments on commit ff94bb0

Please sign in to comment.