Class AccessibilityManager

The Accessibility manager recreates the ability to tab and have content read by screen readers. This is very important as it can possibly help people with disabilities access PixiJS content.

A DisplayObject can be made accessible just like it can be made interactive. This manager will map the events as if the mouse was being used, minimizing the effort required to implement.

An instance of this class is automatically created by default, and can be found at renderer.plugins.accessibility

Memberof

PIXI

Constructors

Properties

debug: boolean

Setting this to true will visually show the divs.

renderer: IRenderer<ICanvas>

The renderer this accessibility manager works for.

Accessors

  • get isActive(): boolean
  • Value of true if accessibility is currently active and accessibility layers are showing.

    Returns boolean

    Member

  • get isMobileAccessibility(): boolean
  • Value of true if accessibility is enabled for touch devices.

    Returns boolean

    Member

Methods

  • Adjust the hit area based on the bounds of a display object

    Parameters

    Returns void

  • Destroys the accessibility manager

    Returns void

  • private function that will visually add the information to the accessability div

    Parameters

    Returns void

Generated using TypeDoc