Skip to content
Design System
GitHub

Scrollspy

v0.15.0Beta

An On this page list that follows the reader through the sections of a page or a scroll area, and the useScrollspy hook behind it.

Roles

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

  • link
  • list
  • listitem
  • navigation

    Keyboard

    KeysAction
    TabFocus a section link
    EnterScroll to the section and move focus to it

    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.