UIX 2.2.15

oracle.cabo.share.config
Class AccessibilityMode

java.lang.Object
  |
  +--oracle.cabo.share.config.AccessibilityMode

public final class AccessibilityMode
extends java.lang.Object

This class is used to control the level of accessibility support in an application. Currently three modes of accessibility are supported:

The current mode is obtained by calling Configuration.getProperty(Object key) and using Configuration.ACCESSIBILITY_MODE as the key.

See Also:
Configuration, Customization

Field Summary
static AccessibilityMode DEFAULT_MODE
This value indicates an accessible level of accessibility support.
static AccessibilityMode INACCESSIBLE_MODE
This value indicates that accessibility is not required.
static AccessibilityMode SCREEN_READER_MODE
This value indicates that the content must be catered specifically for screen readers (eg: JAWS).

Method Summary
static boolean isInaccessibleMode(Configuration config)
static boolean isScreenReaderMode(Configuration config)
java.lang.String toString()

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Field Detail

DEFAULT_MODE

public static final AccessibilityMode DEFAULT_MODE
This value indicates an accessible level of accessibility support.

INACCESSIBLE_MODE

public static final AccessibilityMode INACCESSIBLE_MODE
This value indicates that accessibility is not required. All HTML pertaining to accessibility may be stripped from the output.
See Also:
isInaccessibleMode(Configuration)

SCREEN_READER_MODE

public static final AccessibilityMode SCREEN_READER_MODE
This value indicates that the content must be catered specifically for screen readers (eg: JAWS). This mode will also generate accessible ccontent.
See Also:
isScreenReaderMode(Configuration)

Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

isInaccessibleMode

public static boolean isInaccessibleMode(Configuration config)
Parameters:
config - the Configuration object to examine
Returns:
true if the accessiblity mode set on the Configuration object is at the inaccessible level.
See Also:
INACCESSIBLE_MODE, Configuration.ACCESSIBILITY_MODE

isScreenReaderMode

public static boolean isScreenReaderMode(Configuration config)
Parameters:
config - the Configuration object to examine
Returns:
true if the accessiblity mode set on the Configuration object is at the screen reader level.
See Also:
SCREEN_READER_MODE, Configuration.ACCESSIBILITY_MODE

UIX 2.2.15