Open Piggered opened 3 years ago
This is an add-on to #5.
When using the library to an <a> tag with an href, the HTML becomes invalid according to the W3C validator.
<a>
href
For instance:
<a href="https://github.com/" aria-label="GitHub" data-microtip-position="bottom" role="tooltip">GitHub</a>
will produce the following error:
Attribute href not allowed on element a at this point.
a
Removing role="tooltip" clears the error, but the tooltip obviously won't work.
role="tooltip"
This is an add-on to #5.
When using the library to an
<a>
tag with anhref
, the HTML becomes invalid according to the W3C validator.For instance:
will produce the following error:
Removing
role="tooltip"
clears the error, but the tooltip obviously won't work.