Skip to content

Commit

Permalink
accessibility issue 2052 (#2682)
Browse files Browse the repository at this point in the history
Co-authored-by: Corina <14900841+corinagum@users.noreply.github.com>
  • Loading branch information
liweitian and corinagum authored Apr 16, 2020
1 parent 183c4a9 commit d493b11
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,14 @@ const TableView: React.FC<TableViewProps> = props => {

return (
<div data-testid="tableFooter">
<ActionButton css={actionButton} iconProps={{ iconName: 'CirclePlus' }} onClick={() => onCreateNewTemplate()}>
<ActionButton
css={actionButton}
iconProps={{ iconName: 'CirclePlus' }}
onClick={() => {
onCreateNewTemplate();
announce('item added');
}}
>
{formatMessage('New template')}
</ActionButton>
</div>
Expand Down

0 comments on commit d493b11

Please sign in to comment.