Skip to content
Design System
GitHub

The sources a model's answer cites: numbered markers linked both ways to a numbered source list, each highlighting the other on hover or focus; [1] and [^1] in Markdown become markers.

Roles

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

  • link
  • list
  • listitem
  • region
  • Follows the WAI-ARIA pattern Link.

Keyboard

KeysAction
TabMove through the markers in the text, then the sources' links
EnterOn a marker, move to its source; on Back to citation N, return to the marker
EscIn a source reached from a marker, return to that marker

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.