fluid-project/videoPlayer — pull request #57 by acheetham (2012-09-07 16:08:41+00:00)
Title: Fluid 4786

@michelled, this branch is where I got to with the ARIA work. If I wasn't going on vacation, I wouldn't submit a pull request yet; it could use some clean-up.

One main thing not yet implemented is the 'aria-controls' property on the transcript menu items.
http://www.w3.org/WAI/PF/aria/states_and_properties#aria-controls
My understanding of this is that the language menu items 'control' the transcript text area, and the show/hide 'controls' the whole transcript box.

The challenge I've had is getting the ID of the transcript text area into the languageMenu component: when the languageMenu is being created, the transcript component doesn't exist correctly. If you try to transfer the dom element into an option (they way it's done for captions in this branch), this will trigger the creation of the transcript and successfully set the id, but the transcripts have a 'createOnEvent' set, which means the subcomponent gets instantiated a second time, when that event fires later. I haven't found a solution yet.