Closed heinsj closed 1 year ago
This text can currently be modified with the translateWithId
prop passed into TableBatchActions
.
const translationKeys = {
'carbon.table.batch.cancel': 'Cancel',
'carbon.table.batch.items.selected': 'items selected',
'carbon.table.batch.item.selected': 'item selected',
};
https://github.com/carbon-design-system/carbon/blob/main/packages/react/docs/g11n.md
Detailed description
We have received feedback from multiple users that the "Cancel" action on the table batch action bar is confusing them.
When interacting with the table, if the user checks a box next to an item the batch action bar opens. In order to dismiss the batch action bar the user must deselect items or click Cancel. The word "Cancel" has caused confusion with users because either they have not taken an action yet and there is nothing to cancel or they have taken an action and are afraid that "Cancel" will undo the action they just took.
IBM Engineering - we are seeking to correct in our toolkit but it would be best to get this done at the Carbon level too so that all teams can benefit.
Steps to reproduce the issue
Additional information
Add labels
Please choose the appropriate label(s) from our existing label list to ensure that your issue is properly categorized (i.e.use the
libraries
label for any issue relating to the Carbon Sketch Library). This will help us to better understand and address your issue.