Skip to content
Design System
GitHub

Hover card

v0.21.0Beta

A preview of what a link leads to, on hover and keyboard focus. Preview only: never the only way to the facts or actions in it.

Roles

What a screen reader is told each part is, measured in the examples on the Overview tab.

No role of its own: it is read as the text it contains.

    Keyboard

    KeysAction
    FocusShow the card after a moment
    EscTab awayHide it
    EnterFollow the link

    Colour contrast

    Computed from the shipped theme for the colours this component uses, on page and card backgrounds; the lower of the two is shown. WCAG 2.2 AA.