A11yTree - v0.7.1
    Preparing search index...

    Function A11yTreeProvider

    • Accessibility tree for canvas-based UIs.

      Wrap the canvas in A11yTreeProvider; put A11yTreeRenderer in its fallback.

      Wrap each nested React root (e.g. r3f <Canvas>) in fiber-tunnel's FiberAnchor to order its content at the root's place; unanchored roots are unordered (dev warns). For hosts that skip context bridging, give FiberAnchor a function child and wrap the root's content in ContextBridge with its bridge.

      An <Activity>-hidden canvas keeps its a11y content unless the host bridges Activity (its-fine 2.1+ useActivityBridge).

      Parameters

      Returns Element

      <A11yTreeProvider>
      <FiberAnchor>
      <Canvas fallback={<A11yTreeRenderer />}>
      {children}
      </Canvas>
      </FiberAnchor>
      </A11yTreeProvider>