acquiescence - v0.1.16
    Preparing search index...

    Class AriaSnapshotGenerator

    Takes accessibility snapshots: trees of the elements in the accessibility tree, each with its role, accessible name, and states, and the text between them. Elements without a role, or with a generic, none, or presentation role, are left out, with their content moved up to their parent. Hidden elements are left out with their content.

    Index
    • Takes an accessibility snapshot of an element and its descendants.

      Parameters

      • rootElement: Element

        {Element} The element to take the snapshot of, which is included if it has a role.

      • options: AriaSnapshotOptions = {}

        {AriaSnapshotOptions} Options for the snapshot. If omitted, nodes get refs without a prefix.

      Returns AriaSnapshot

      The snapshot.