carbon-design-system / carbon

A design system built by IBM
https://www.carbondesignsystem.com
Apache License 2.0
7.86k stars 1.82k forks source link

TableToolbarSearch: Ability to show text on hover of search icon in expandable search for DataTable #6514

Closed tvelingkar closed 1 year ago

tvelingkar commented 4 years ago

Summary

Currently I did not find a way to set hover text for Search icon description in TableToolbarSearch component for DataTable <TableToolbarSearch aria-labelledby={'Search'} labelText={'Search'} title={'Search'} /> I tried setting the labelText and title but none of the option works. There needs to be a way to set this option to show a descriptive text on hover of the search icon.

Justification

A descriptive text is needed to be shown on hover of the search icon

Available extra resources

image

dakahn commented 4 years ago

if we allow the user to set a custom title attribute, it will need to match the aria-label/<label> element which we're already setting as seen here image.png