W3C home > Mailing lists > Public > public-canvas-api@w3.org > October to December 2010

Reworked Canvas 2D API using our revised DrawFocusRing

From: Richard Schwerdtfeger <schwer@us.ibm.com>
Date: Fri, 19 Nov 2010 13:49:20 -0700
To: public-canvas-api@w3.org
Cc: david.bolter@gmail.com, jcraig@apple.com, janina@rednote.net
Message-ID: <OF7DD01681.24BDED9B-ON862577E0.00709F77-862577E0.00726175@us.ibm.com>

I rewrote the the canvas 2D API code on drawFocusRing. This one:

- Uses our API modification for drawFocusRing() which needs to be
implemented (call is commented out for the time being so I have substituted
the drawing calls)
- Works in IE 9 for the shadow DOM. The one in the spec did not run in IE
do to a few unsupported methods and coding errors.
- Sets Focus on the appropriate checkboxes when the corresponding canvas
checkbox is clicked with the mouse. This does not work yet in Safari, FF or
Chrome as they don't yet support keyboard focus in the DOM subtree. Safari
and Chrome are probably dependent on a webkit update.
- Has comments for others to see what we are trying to do

Keyboard support will not work in FF 4 as keyboard navigation of the DOM
subtree does not work yet. I have not yet run this with a screen reader (I
don't have a screen reader running on my Windows 7 machine - yet) and a
magnifier will not work until we implement drawFocusRing(0

Before I put this in our modifications to the canvas2DAPI change proposal
we need group sign off on the modifications.

David, this is a good test example for when you get to implementing the DOM

(See attached file: CanvasEditor.html)

Rich Schwerdtfeger
CTO Accessibility Software Group

Received on Friday, 19 November 2010 20:50:01 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:31:51 UTC