atomiks / tippyjs

Tooltip, popover, dropdown, and menu library
https://atomiks.github.io/tippyjs/
MIT License
11.86k stars 520 forks source link

Hide image title when tooltip is used #1070

Open strarsis opened 2 years ago

strarsis commented 2 years ago

Problem

When hovering an HTML image with a title, the browser will show its own native tooltip with the image title as its text after some time. When a custom tooltip is already used, this extra browser native tooltip is confusing/disruptive/annoying.

Solution

There are some JavaScript solutions that use the mouseenter event to prevent the image title browser native tooltip from showing, while still keeping its accessibility. It would be nice if tippyjs could also implement this.