Class: AccessibilitySystem

AccessibilitySystem

The Accessibility system 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 Container 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.accessibility

new AccessibilitySystem (renderer)

Name Type Description
renderer WebGLRenderer | WebGPURenderer

A reference to the current renderer

Implements

Members

debug boolean

Setting this to true will visually show the divs.

Default Value:
  • false

isActive boolean readonly

Value of true if accessibility is currently active and accessibility layers are showing.

isMobileAccessibility boolean readonly

Value of true if accessibility is enabled for touch devices.

Methods

destroy () void

Destroys the accessibility manager