Skip to content
Design System
GitHub

Text diff

v0.16.2Beta

Where two texts differ, word by word: insertions a grey block with an underline, removals struck through, each announced to screen readers. Inline or side by side, with a +3 words, −1 word summary.

Roles

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

  • region

    Keyboard

    Nothing in it takes focus: it is read, not operated, so it has no keys.

    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.