[webkit-dev] Proposal: Add support for focus rings in Canvas 2d
rniwa at webkit.org
Thu Oct 10 13:14:05 PDT 2013
On Wed, Oct 9, 2013 at 9:08 PM, Rik Cabanier <cabanier at gmail.com> wrote:
> I'd like to add for focus rings. They are currently specified in the w3c
> and whatwg canvas specs:
Could you point us to the list of use cases or the whatwg/w3c thread where
the discussion took place?
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
> 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
How does this API address this use case? It seems like each Web app needs
to explicitly opt-in and manually draw focus ring?
I'm not sure if that's a good accessibility API given that many authors
don't even use most basic accessibility feature such as ARIA roles.
e.g. why can't UA automatically draw focus ring on top of the canvas?
Also, the spec seems to indicate that the physical (rendered) position of
an element can change dynamically without UA being notified.
How are ATs supposed to inform users of the ordering of those focusable
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?
I definitely would like to see a build flag around it.
- R. Niwa
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev