Properties

isActive: boolean

Gets or sets the current screen reader state.

The type of the screen reader. (SiteKiosk, JAWS, NVDA, Narrator, TalkBack)

Methods

  • Changes the screen reader focus to the specified element. When providing an HTMLElement, the elements id will be used.

    Parameters

    • elementOrId: string | HTMLElement

      The element or id to focus.

    Returns Promise<void>

  • Returns

    An event subscription which can be used to unsubscribe from the event.

    Parameters

    • callback: ((isActive: boolean) => void)

      The callback which will be called when the screen reader state changes.

        • (isActive: boolean): void
        • Parameters

          • isActive: boolean

          Returns void

    Returns EventSubscription

Generated using TypeDoc