Menu

Spark RichEditableTextAccImpl

SourceForge Editorial Staff

class spark.accessibility.RichEditableTextAccImpl

This is the accessibility implementation class for spark.components.RichEditableText. When a Spark RichEditableText is created, its accessibilityImplementation property is set to an instance of this class. The Flash Player then uses this class to allow MSAA clients such as screen readers to see and manipulate the RichEditableText. See the mx.accessibility.AccImpl and flash.accessibility.AccessibilityImplementation classes for background information about accessibility implementation classes and MSAA.

Children

A RichEditableText has no MSAA children.

Role

The MSAA Role of a RichEditableText is ROLE_SYSTEM_TEXT.

Name

The MSAA Name of a RichEditableText is, by default, the empty string. When wrapped in a FormItem element, the Name is the FormItem's label. To override this behavior, set the RichEditableText's accessibilityName property.

When the Name changes, a RichEditableText dispatches the MSAA event EVENT_OBJECT_NAMECHANGE.

Description

The MSAA Description of a RichEditableText is, by default, the empty string, but you can set the RichEditableText's accessibilityDescription property.

State

The MSAA State of a RichEditableText is a combination of:

  • STATE_SYSTEM_UNAVAILABLE (when enabled is false)
  • STATE_SYSTEM_FOCUSABLE (when enabled is true)
  • STATE_SYSTEM_FOCUSED (when enabled is true and the RichEditableText has focus)
  • STATE_SYSTEM_PROTECTED (when displayAsPassword is true)
  • STATE_SYSTEM_READONLY (when editable is false)

When the State changes, a RichEditableText dispatches the MSAA event EVENT_OBJECT_STATECHANGE.

Value

The MSAA Value of a RichEditableText is equal to its text property.

When the Value changes, a RichEditableText dispatches the MSAA event EVENT_OBJECT_VALUECHANGE.

Location

The MSAA Location of a RichEditableText is its bounding rectangle.

Default Action

A RichEditableText does not have an MSAA DefaultAction.

Focus

A RichEditableText accepts focus. When it does so it dispatches the MSAA event EVENT_OBJECT_FOCUS.

Selection

A RichEditableText does not support selection in the MSAA sense, and text selection is not part of Microsoft's IAccessibility COM interface. But screen readers can determine the currently selected text range via the GetSelection() method in Adobe's ISimpleTextSelection COM interface.


Related

Wiki: Accessibility for Spark Components

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.