[webkit-dev] Proposal: Add support for focus rings in Canvas 2d
Rik Cabanier
cabanier at gmail.com
Wed Oct 9 21:08:56 PDT 2013
All,
I'd like to add for focus rings. They are currently specified in the w3c
and whatwg canvas specs:
http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#dom-context-2d-drawsystemfocusring
http://www.w3.org/TR/2dcontext/#dom-context-2d-drawsystemfocusring
Support (behind runtime flags) has landed in:
- Firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=540456
- chrome: https://code.google.com/p/chromium/issues/detail?id=261998
Focus rings associate elements that are in a canvas tag with areas of the
canvas.
If the user tabs into the hidden element or the accessibility software
selects them, these methods will draw or let the author draw the focus
rings.
I created a patch (https://bugs.webkit.org/show_bug.cgi?id=122177) but it
needs more tests.
Also, should I implement it behind a runtime flags?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20131009/3b6336ac/attachment.html>
More information about the webkit-dev
mailing list