Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

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:

  • DEFAULT_MODE
  • At this level, code that is strictly ADA compliant must be produced.
  • INACCESSIBLE_MODE
  • At this level, code may be optimized to strip out ADA specific constructs.
  • SCREEN_READER_MODE
  • At this level, content specific for screen readers may be rendered.

    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 the ADA compliant level of accessibility support.
    static AccessibilityMode INACCESSIBLE_MODE
              This value indicates that ADA compliancy 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 the ADA compliant level of accessibility support.

    INACCESSIBLE_MODE

    public static final AccessibilityMode INACCESSIBLE_MODE
    This value indicates that ADA compliancy 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 ADA compliant code.
    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

    Oracle UIX API Reference
    Release 2.1.22.0.0
    B12196-01

    Copyright © 2002,2003, Oracle. All Rights Reserved.