gameforge - v0.1.12
    Preparing search index...

    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

    PIXI

    Index

    Constructors

    Properties

    debug: boolean

    Setting this to true will visually show the divs.

    renderer: IRenderer

    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

    • get isMobileAccessibility(): boolean

      Value of true if accessibility is enabled for touch devices.

      Returns boolean

    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