720kb / angular-tooltips

Angularjs tooltips module, add tooltips to your elements - https://720kb.github.io/angular-tooltips
351 stars 157 forks source link

[W3C]Page not validated if a tooltip is used #191

Closed simonepri closed 7 years ago

simonepri commented 7 years ago

image

This is the incriminated line: https://github.com/720kb/angular-tooltips/blob/master/dist/angular-tooltips.js#L760

I saw that that ID is not used for anything so I think it can simply be removed or replaced by:

closeButtonElement.addClass('close-button');

45kb commented 7 years ago

@simonepri yes that should be removed probably that's the reason why close button is no more working.... can you PR? 🚀

45kb commented 7 years ago

https://github.com/720kb/angular-tooltips/pull/193