Skip to content

[EuiLink] Adding new tab/window help text for screen readers #3659

@myasonik

Description

@myasonik

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions