You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
aria-describedby attribute should only be present when tooltip is shown, otherwise the attribute is considered invalid since the referenced id doesn't exist on the page (aXe violation):
Bug description or feature request:
aria-describedby
attribute should only be present when tooltip is shown, otherwise the attribute is considered invalid since the referenced id doesn't exist on the page (aXe violation):On the Bootstrap doc/demo page you can see the expected behavior:
![bootstrap-tooltip](https://user-images.githubusercontent.com/9935648/53756472-0ef87780-3e6e-11e9-937e-5877045d1f06.gif)
We should hopefully just be able to conditionalize the attribute by whether the tooltip is shown, something like this:
Original:
ngx-bootstrap/src/tooltip/tooltip.directive.ts
Line 197 in c9adab6
Plunker/StackBlitz that reproduces the issue:
https://stackblitz.com/edit/ngx-bootstrap-vanaus?file=app%2Fapp.component.html
(aXe extension for reference: https://chrome.google.com/webstore/detail/axe/lhdoppojpmngadmnindnejefpokejbdd)
Versions of ngx-bootstrap, Angular, and Bootstrap:
ngx-bootstrap:
3.3.0 (since v3.1.4 commit)
Angular:
7 (but not dependent on angular version)
Bootstrap:
n/a
The text was updated successfully, but these errors were encountered: