aria-describedby attribute removed from tooltips/popovers before the hide event fires
Created by: bjohn465
The aria-describedby attribute is removed too early from the element that triggers a tooltip or popover, making it impossible to determine the popover or tooltip associated with the element in the hide event. Additionally, if the hide event is cancelled (e.g., by calling preventDefault on the event object), the aria-describedby attribute is not put back on the element, making the popover or tooltip less accessibility-friendly.
This line of code should be moved so it is executed after the hide event has been triggered and checked.