Skip to content

Tooltip text for user name #3795

Answered by TheSisb
tonge495 asked this question in Q&A
Feb 26, 2024 · 3 comments · 2 replies
Discussion options

You must be logged in to vote

Hi @tonge495,

We have a similar example on the User Dialog page which has a placeholder name of User name, as you show in your image.

The thing being hovered which is showing this browser tooltip is actually an Avatar component. The Avatar component provides this information about what should be provided to name:

The name prop is required on all instances of the Avatar component. This ensures that whether your Avatar is displaying initials, an image, or an icon, the user will be able to access information about what object is being represented by the Avatar. The full string passed to name appears as a title upon hovering the Avatar, and is useful to assistive technology users.

https://…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@dosubot
Comment options

Comment options

You must be logged in to vote
1 reply
@tonge495
Comment options

Answer selected by TheSisb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants