A11yTree - v0.7.1
    Preparing search index...

    Function A11yTreeMirror

    • Mirrors ordered lists of keyed nodes into the a11y tree.

      Each list renders at its A11yTreeOutlet. Nodes keep React state, DOM and focus across reorders and moves between lists.

      Nodes read context at their list's element, then at the mirror. Native events bubble through the list's DOM; React events bubble from the mirror.

      Type Parameters

      • P

      Parameters

      Returns Element

      <A11yTreeMirror
      lists={[{
      id: "hand",
      outlet,
      nodes: [{ key: "ace", props: {} }],
      render: (List) => <List as="ul" aria-label="Hand" />,
      }]}
      nodeElement="li"
      >
      <A11yTreeMirrorIn nodeKey="ace">
      <Card />
      </A11yTreeMirrorIn>
      </A11yTreeMirror>