DEV Community

Discussion on: Is there any way to put HTML code in Tooltip?

mpuckett profile image
Michael Puckett • Edited on

As far as accessible HTML, it may be a good candidate for a non-modal dialog element, especially if the table is interactive. Basically you add it after the tooltip and then add the open attribute when tooltip is clicked. Unfortunately it has limited browser support but the accessibility mechanics can be replicated with role=dialog and some JavaScript.

abhishekpakhare97 profile image
Abhishek Ramesh Pakhare Author

Thank you so much for you support and reponse