Posted by Sandro on June 23rd, 2010

Flash & The Quest for Accessibility – Part #2

Overview Part #2

In this two-part blog post i will cover the technical, as well as overall aspects of implementing accessibility into the EventManager Project. And not just any form of accessibility – the Game has earned the AA+ Certification from Access For All (their highest certification grade conform to WCAG 2.0).

Go here for the first blog post on accessibility. This second part will cover all the technically nitty-gritty, blood and tears that went into implementing accessibility for this project. :)



Some Resources First

Throughout my research and while developing the accessiblity implementation for EventManager i’ve collected useful resources on the web which i’m glad i can share with you via my delicious. There are notes for all the links available that will tell you what type of information you will find behind the click.


Accessibility Introduction

If you haven’t worked with accessiblity in Flash or Flex yet, here’s a short introduction on how it all works.

Flash has it’s own package responsible for all the accessibility features. This package is situated under flash.accessibility.*

Within this package (as of this writing) you will find three classes:

The Accessibility class is a static class that allows you to do three important things. From that class you can check if the user is actually using a screenreader and if it is available or not (Accessibility.active). It also allows you to make sure that all accessibility properties are updated if you change any of their values (Accessibility.updateProperties()). The third and in my opinion most important bit of this class is the capability to manually submit an Event to the MSAA API (Accessibility.sendEvent()).

The AccessibilityProperties class is the place where you define the properties, such as name, description and shortcut that are being presented to accessibility aids. You can also set some properties that control the behaviour of your object towards screenreaders. AcessibilityProperties can be attached to any type of DisplayObject.

The AccessibilityImplementation class, is a bit of a special one. It is the base class in Flash that allows for the implementation of accessibility. This class you will never really use directly, since Adobe advices us not to instantiate it but instead extends AccImpl (which again extends from AccessibilityImplementation) in order to create our own implementation for any custom component we might create. The AccImpl class exists in two versions, one for flash and one for flex.


More Than a Million Words

Instead of boring you any further with details and long paragraphs of information, i figured it’s easier to understand how this all works by actually showing you. Enjoy the videos, if the quality is a bit low and you would like them to be sharper, make sure to head over to the vimeo site itself to download the original videos directly from there.


A Basic Example

WATCH IN 800 x 600 | DOWNLOAD EXAMPLE SOURCE CODE


A Basic AccessibilityImplementation Example

WATCH IN 800 x 600 | DOWNLOAD EXAMPLE SOURCE CODE


The Final EventManager Accessibility Approach

WATCH IN 800 x 600 | DOWNLOAD EXAMPLE SOURCE CODE


Related Posts
Post a Comment


6 Comments »

  1. The most color full site that we are looking..that we made to create or design a new think having some much think here.

    comment-bottom
  2. Mariano says:

    ey, thank you for sharing this info… :) it was really helpfull for me!

    comment-bottom
  3. Andy says:

    This was a huge help to me, the most practical Flex accessibility information I’ve found yet. As you have mentioned, there aren’t many good resources out there, so I’m glad I finally stumbled on yours!

    comment-bottom
  4. Marcos says:

    A cosmetic surgeon on the other hand just has to complete the usual medical degree.
    For a breast reduction, fat and tissues will be
    removed or rearranged in the breast to give your breast a more even look and feel, and could reduce neck and back pain.
    Schreier for doing the interview on addiction to plastic
    surgery.

    comment-bottom
  5. Vous rédigez continuellement des posts intéressants

    comment-bottom
  6. X says:

    Voսs écrivez sans cesse deѕ powts fascinants

    comment-bottom

RSS feed for comments on this post | TrackBack URL

Leave a comment

Flash Flex Actionscript Tutorials Tutorial AS2 AS3 AS1 Feeds MXML Blog Zinc AIR Launcher Twitter Tweetr Yet Another Coverflow Liip Adobe Macromedia PHP MySQL PostgreSQL XML AMF MXNA Phidgets Schweiz Switzerland Suisse Svizzera Fribourg Freiburg Aargau Baden Publicis Accessibility JAcc Qt FOSDR Flash on the Beach Forum Conference Speaker Speaking Talk