1

I have this row, where the content highlighted in red is searchable. I expect it always to be visible, but we have some corner cases where this content can be quite long and hidden behind ellipsis (css line clamped). However, we need this data to be present too, so I considered using tooltip for the rest of content hidden behind ellipsis. Do you think it's a good idea or there are some other ways? enter image description here

1 Answer 1

3

I would avoid tooltips for lots of reasons. In your case the main reasons would be:

  1. There would be no way for users to know how to reveal the content. They shouldn’t have to hover (and wait) for a tooltip to (maybe) show.

  2. It wouldn’t work for people without a pointing device like a mouse or trackpad. They wouldn’t work for keyboard users, screen reader users and users who use voice commands.

  3. Generally they’re just not that easy to use.

In your case, I’d suggest a ‘Show more’ button that reveals the rest of the text and can be toggled on and off.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.