@benmarch/a11y-toolkit
    Preparing search index...

    Class ArrowKeyNavigator

    Manages a list of elements inside a specific container to navigate through using arrow keys. This can be done using the left and right arrows, the up and down arrows, or both. Under the hood, it uses a RovingFocus to prevent tab navigation among items.

    This can be used to implement various menu-like patterns.

    Be sure to disable when done to prevent memory leaks.

    Index

    Constructors

    Properties

    container: HTMLElement
    elements: ElementList
    isActive: boolean = false
    options: ArrowKeyNavigatorOptions

    Methods