Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    ARIA/Section 508 keyboard accessibility ?

    Hello,

    I would know if smartclient/samrtgwt have a full support for ARIA/Section 508 keyboard accessibility ?

    Regards.
    Francisco.

    #2
    Yes, SmartGWT has ARIA support. It can be enabled by simply setting:

    Code:
       isc.screenReader = true;
    .. after SmartGWT loads and before any components are drawn. Note that if you do this from onModuleLoad() via JSNI it should be "$wnd.isc.screenReader = true;" instead.

    This currently works best with "fleet" skin, Firefox 2.0+, WindowEyes 5.5+, in "browse mode" (shortcut key is Ctrl-Shift-A by default).

    When you try this out, notice how SmartGWT's buttons, checkboxes, grids, listBoxes, etc, all of which are "synthetic" (not based on the browser's built-in
    controls) are properly read as the appropriate type of control.

    Note that because SmartGWT supports multi-column tree displays and the WAI-ARIA group hasn't really covered this, all TreeGrid controls are read as tables, and the "level" of the node is announced as part of the data.

    Comment


      #3
      Hello, i have an application wich uses smartgwt components (like buttons, treegrids, listgrids etc).

      I would know how i can add accessibity support to my app.
      I have readed in this forum that i can do:
      isc.screenReader = true;

      But i dont know what is an isc object, and i dont know how i can use it.

      Some one could explain me how i can use it?

      Thanks all!

      Comment


        #4
        Just create a native java method like below an call it in the beginning of your onModuleLoad()

        Code:
        public native void enableScreenReader() /*- {
           $wnd.isc.screenReader = true;
        } -*/;
        You can learn more about JSNI in http://code.google.com/intl/pt-BR/webtoolkit/doc/latest/DevGuideCodingBasicsJSNI.html

        Comment

        Working...
        X