57 lines
1.1 KiB
JavaScript
57 lines
1.1 KiB
JavaScript
"use strict";
|
|
|
|
exports.__esModule = true;
|
|
/**
|
|
* Default property values of accessible objects
|
|
* used by {@link PIXI.accessibility.AccessibilityManager}.
|
|
*
|
|
* @function accessibleTarget
|
|
* @memberof PIXI.accessibility
|
|
* @example
|
|
* function MyObject() {}
|
|
*
|
|
* Object.assign(
|
|
* MyObject.prototype,
|
|
* PIXI.accessibility.accessibleTarget
|
|
* );
|
|
*/
|
|
exports.default = {
|
|
/**
|
|
* Flag for if the object is accessible. If true AccessibilityManager will overlay a
|
|
* shadow div with attributes set
|
|
*
|
|
* @member {boolean}
|
|
*/
|
|
accessible: false,
|
|
|
|
/**
|
|
* Sets the title attribute of the shadow div
|
|
* If accessibleTitle AND accessibleHint has not been this will default to 'displayObject [tabIndex]'
|
|
*
|
|
* @member {string}
|
|
*/
|
|
accessibleTitle: null,
|
|
|
|
/**
|
|
* Sets the aria-label attribute of the shadow div
|
|
*
|
|
* @member {string}
|
|
*/
|
|
accessibleHint: null,
|
|
|
|
/**
|
|
* @todo Needs docs.
|
|
*/
|
|
tabIndex: 0,
|
|
|
|
/**
|
|
* @todo Needs docs.
|
|
*/
|
|
_accessibleActive: false,
|
|
|
|
/**
|
|
* @todo Needs docs.
|
|
*/
|
|
_accessibleDiv: false
|
|
};
|
|
//# sourceMappingURL=accessibleTarget.js.map
|