1.1.2 Documentation: Keyboard a11y

Colin Clark colin.clark at utoronto.ca
Fri Oct 9 14:24:02 UTC 2009


Hey guys,

Good question. Hey, can we stop using the words "thatist bridge?" Such  
a dorky name! I've always preferred a more straightforward name like  
"jQuery Plugin Bridge."

Anyway, the thatist bridge is responsible for exposing ordinary Fluid  
objects (including the whole "fluid" namespace) to jQuery. In other  
words, it's an automatic jQuery plugin generator for all of Fluid's  
stuff. You can read more about it in a blog post from back around the  
0.6 timeframe:

http://fluidproject.org/blog/2008/12/12/a-bridge-between-this-and-that/

The native API for the keyboard-a11y plugin is like this:

fluid.selectable(targetElement, options); // Make a container of  
elements selectable with arrow keys
fluid.activatable(target, fn, options); // Make an element activatable  
with Enter/Space

The plugin bridge automatically converts these functions to a jQuery  
style like this:

$(myContainer).fluid("selectable", options);
$(mySelectable).fluid("activatable", fn, options);

I think the target audience for this plugin is a wide range of jQuery  
users, many of whom aren't currently using Infusion. To start, I'd  
like to make sure our documentation is geared towards the jQuery-style  
API. Ideally, we'll document both styles.

I hope this helps clarify the issue. I haven't yet had a chance to  
review the documentation itself, but I'm looking forward to it.

Colin

On 9-Oct-09, at 9:43 AM, Anastasia Cheetham wrote:

>
>> Im just curious: do we exect people to use the thatistbridge syntax  
>> found in these docs over the regular syntax?
>
>
> Very good question, Jacob: I don't know. I'm not 100% clear on the  
> use of the thatistbridge.
>
> Anyone else want to comment on the use of thatistbridge from the  
> user (i.e. Infusion user) perspective, and the recommended syntax  
> for using the keyboard-a11y plugin?
>
> -- 
> Anastasia Cheetham                       a.cheetham at utoronto.ca
> Interface Developer, Fluid Project      http://fluidproject.org
> Adaptive Technology Resource Centre   /   University of Toronto
>
> _______________________________________________________
> fluid-work mailing list - fluid-work at fluidproject.org
> To unsubscribe, change settings or access archives,
> see http://fluidproject.org/mailman/listinfo/fluid-work

---
Colin Clark
Technical Lead, Fluid Project
Adaptive Technology Resource Centre, University of Toronto
http://fluidproject.org




More information about the fluid-work mailing list