Hi Praveen,

"Praveen Nayak" <[EMAIL PROTECTED]> wrote on 02/08/2007 09:15:21 
PM:

> I now have an applet with the Batik canvas embedded inside it, and 
> and SVG document, which has title and desc elements, say under a 
> circle, loaded in the canvas.
> On a mouse over the circle, a tooltip is shown with the title and 
description.
> But this tooltip is not accessible to a screenreader I checked with - 
Jaws.
> I have installed the Java Access bridge which facilitates Jaws to 
> read the applet controls like button etc.
> 
> I would like to know, if I am right in assuming that the tooltip is 
> not accessible by screen readers, 

   I would guess that in some sense it _is_ accessible by screen readers,
the tool-tip is displayed by calling JComponent.setToolTipText, so
it isn't anything very special to Batik, every JComponent has this.

> and if so, is it that the screen 
> readers have not supported SVG specification as such, or that the 
> Batik implementation does not cover the screenreader access?

   Batik currently doesn't do anything special to enable screenreader
access (to be honest I don't know what Batik can do to enable
screenreader access), but in general we try to do things the 
'standard' way in Java so hopefully the standard screen readers
would work at some level with Batik...

> I was looking at a workaround currently to handle mouseover events 
> and link them back to the applet and the applet can deal 
> appropriately with the title and description, because the applet is 
> linked right with the screen reader. Or is there a better way of doing 
this?

   The simplest thing would be to subclass the JSVGCanvas and override
'setToolTipText(String t)', to forward the string to the screen reader.
 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to