Whenever a link is going to open in a new tab or window, we should warn screen readers ahead of time.
In an ideal world, they could do this for us but support is abysmal right now so we're going to have to help out.
The easiest way we can do this is adding some hidden text to the link text that reads "opens in a new window/tab" at the end of the link if the user passes in a target attribute.
Related Kibana issue: elastic/kibana#43020
Whenever a link is going to open in a new tab or window, we should warn screen readers ahead of time.
In an ideal world, they could do this for us but support is abysmal right now so we're going to have to help out.
The easiest way we can do this is adding some hidden text to the link text that reads "opens in a new window/tab" at the end of the link if the user passes in a
targetattribute.Related Kibana issue: elastic/kibana#43020