Does anyone know how to add a tooltip (displayed on hover) for the AI Chatbot widget?
I’d like the toolip to say: “Launch AI Chatbot” or “Click here to launch AI Chatbot”
I tried these methods (i.e., modifications) but they did not work:
Method 1: (Did Not Work)
<!-- Elfsight AI Chatbot | Company AI Chatbot -->
<script src="https://elfsightcdn.com/platform.js" async></script>
<div class="elfsight-app-(number)" title="Launch AI Chatbot" data-elfsight-app-lazy></div>
Method 2: (Did Not Work)
<!-- Elfsight AI Chatbot | Company AI Chatbot -->
<div title="Launch AI Chatbot">
<script src="https://elfsightcdn.com/platform.js" async></script>
<div class="elfsight-app-(number)" data-elfsight-app-lazy></div>
</div>
This is a fascinating idea! Never thought of this, but I see how this can be useful
As it’s not a feature that can be implemented easily from the widget editor, I’ll ask the team if the on-hover tooltip can be implemented for the widget. Will report on this one soon
As always, thank you so much for your help. I understand. In case you’re wondering, here are the main benefits of incorporating the tooltip:
Accessiblity. As your developers look into this, make sure they use the “aria-label” attribute (and others, as applicable) in their code.
Boost Confidence and Clicks. Site visitors are many times hesitant to click icons, images, or links if they don’t know what they do or lead up to. Adding the tooltip will clearly define what your widget does.
Note: If and when implemented, please make sure the widget editor/test panel incorporates an option to enter the desired text for the tooltip.
Other: You’re invited to visit our site to experience our current tooltips in action (minus your AI Chatbot widget). Simply hover over our links, buttons, and icons.
As this element isn’t a basic part of the widget, we’ll need a bit more time to figure out the aria-label part. I’ll get back to you on that in some time
I wanted to provide three (3) very useful tips for you and the community, and also ask you a favor:
For websites that use a language translation dropdown or converter, the above CSS code (i.e., the tooltip content language) will not be translated unless you add the same CSS code but modified, say for Spanish (ES), in the CSS settings section of the widget as shown here: (repeat this for all other languages the website uses).
Some languages, Hindi (HI) for example, use the right-to-left (RTL) convention. So in these cases, the above code needs to be modified as follows: (see bold characters)
works only for our AI Chatbot widget. For those who wish to use above CSS code(s), they need to use the unique value assigned to their AI Chatbot widget (highlighted above in bold), which is provided in the Install section of their dashboard.
Would it be possible to summarize the above and transfer the “minimized” version of this topic to the “CSS Code” section of this community?
And last, you’re invited to visit our site for a live demo!