Skip to content

Commit

Permalink
Update table-view.tsx (#2263)
Browse files Browse the repository at this point in the history
Adds some aria labels to both the checkmark icon and the empty space inside the table of Bot Responses.
  • Loading branch information
beyackle authored Mar 13, 2020
1 parent fd37ebf commit 7258239
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,9 @@ const TableView: React.FC<TableViewProps> = props => {
data: 'string',
onRender: item => {
return activeDialog?.lgTemplates.find(({ name }) => name === item.name) ? (
<IconButton iconProps={{ iconName: 'Accept' }} />
<IconButton iconProps={{ iconName: 'Accept' }} ariaLabel={formatMessage('Used')} />
) : (
<div />
<div aria-label={formatMessage('Unused')} />
);
},
};
Expand Down

0 comments on commit 7258239

Please sign in to comment.