drawSystemFocusRing, drawCustomFocusRing

Hi Jatinder,

The drawSystemFocusRing(element) and drawCustomFocusRing(element) work in
Chrome Canary on Mac and Windows. You can run the windows magnifier and it
will follow the focus location.

Here are the directions for running with Canary:

You have to run Chrome with a flag for it to work. You can go to
chrome://flags and enable "Enable experimental canvas features" (and then
restart the browser), or else run Chrome with
the --enable-experimental-canvas-features command-line flag.

Here is the canvas clock example:
http://www.w3.org/2013/09/accessible_canvas_clock.html

Here is a sample with two canvas drawn checkboxes that uses
drawSystemFocusRing():


(See attached file: CanvasEditor.html)

I have cc'd Dominic Mazzoni if you have any Chrome specific questions.

As a refresher:

- Canvas fallback elements are used to maintain a one for one  mapping to
important objects drawn on canvas that must be accessible. These fallback
elements can be placed in the keyboard navigation order and ARIA support
may also be applied to them to support accessibility
- The two focus ring API are used to ensure support for browser system
focus ring conventions and to provide the location of the fallback objects
on canvas (model view controller)

Regards,


Rich

Received on Thursday, 31 October 2013 18:45:54 UTC