uploadcare / blocks

Stack-agnostic library for uploading, processing, and editing images on-the-fly
https://uploadcare.com/docs/file-uploader/
MIT License
61 stars 13 forks source link

Add title attributes to icons #641

Open edwh opened 3 months ago

edwh commented 3 months ago

Is your feature request related to a problem? Please describe. In the photo uploader, the icons to edit and delete uploaded images should have title attributes.

Describe the solution you'd like Title attributes and configurable text which controls the content.

Describe alternatives you've considered I'm not aware of a way to style this in using CSS.

egordidenko commented 1 week ago

Hello @edwh

We have implemented title attributes for the edit and delete buttons in the uploader. This addition allows users to see tooltips when hovering over these icons, providing clearer functionality.

Additionally, you can customize the text of these tooltips through locale overwriting. The keys for these titles are: file-item-edit-button and file-item-remove-button.

If you have any further questions or need assistance with localization, please let us know!