Textic makes the web talk
line
curved design
 
curved design
 

Talklets for Developers

Sometimes, especially when a web application is dynamic at the client side (e.g. Flash, javascript or AJAX heavy sites), it would be really useful to be able to control what Talklets says or does programmatically. So we've listed below, an minimal API to do just that.

Using Javascript

To read text of your choosing

//set the current text to that which you want to be read.
curtext= "Hello world.";
//clear the last text read.
lasttext="";
//Read it.
readit();

To stop reading:

TTStopPlaying();

This means you can announce the failure of a form validation verbally, or announce the arrival of a new message in an AJAX email client, or... well just about anything.

Using Flash ActionScript

getURL("javascript:lasttext='';curtext='Hello world.';readit();");

To stop reading:

getURL("javascript:TTStopPlaying();");

This means you get the same control as above. But the benefit here is even more pronounced as self-voicing is the only way you can make flash accessible for users not using Internet Explorer. This of course is a great leap forward for accessibility on the web.

Enter some text in the Flash input box to the left and press read button example or mouse over the text to see it in action.

Press stop button example to stop reading.

Script Free Speech

Talklets speech features can also be used via script-free methods. Namely submitting to a form embedded on the page. As submit buttons can be assigned accesskeys, it is even possible to build a site that is keyboard accessible to visually impaired users, without useing any javascript at all.

This takes a bit more effort (we're still working on ours), but could be well worth it for those aiming for the most standards compliant, accessible, and inclusive design possible.

Please contact if you'd like to know more...


 
curved design
 
curved design
     
curved design curved design
line