You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently it doesn't look like there is a way to enable tooltips (information that clarifies the purpose of the input when the cursor is over the input), even though the aria-label attribute is present in the rendered html.
Describe the Feature you'd Like
The biggest benefit of having tooltips would be better general accessibility, but it would also be helpful in cases where, e.g., an inline button is styled to be made smaller (e.g. a small button at the end of a heading).
I would propose either: (a) pull text from the input label and display that as a tooltip or (b) add a new title argument and display that text as a tooltip.
(If falling back and using a title attribute instead would be easier, that would make me almost as happy, although it would be less accessible.)
Additional Context
No response
The text was updated successfully, but these errors were encountered:
I just pushed a commit that adds an optional tooltip to buttons. If no tooltip is set, the button label will be shown as the tooltip on hover.
I hope this solves this FR.
Is your Feature Request Related to a Problem?
Currently it doesn't look like there is a way to enable tooltips (information that clarifies the purpose of the input when the cursor is over the input), even though the aria-label attribute is present in the rendered html.
Describe the Feature you'd Like
The biggest benefit of having tooltips would be better general accessibility, but it would also be helpful in cases where, e.g., an inline button is styled to be made smaller (e.g. a small button at the end of a heading).
I would propose either: (a) pull text from the input label and display that as a tooltip or (b) add a new title argument and display that text as a tooltip.
(If falling back and using a title attribute instead would be easier, that would make me almost as happy, although it would be less accessible.)
Additional Context
No response
The text was updated successfully, but these errors were encountered: