This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
During implementation, Google pointed out that it was not clear how styling could be determined that would allow user agents to determine the style applied to the system focus ring and asked that a clarifying note be included. This is text has been shared with the major browser manufacturers and my colleague at Google approved the text and this is being shared with the other browser manufacturers. The following change needs to be made to the Canvas 2D API for clarification. It is a Note and does not impact CR. It should either come at the end of step 2 in the drawSystemFocusRing(element) processing or as a note following the definition of drawSystemFocusRing(element) and drawSystemFocusRing(path, element): Note: User agents may use the <a href="http://www.w3.org/TR/CSS2/ui.html#dynamic-outlines">CSS outlines around focused elements</a> in determining the system focus style on fallback elements to determine the standard system focus ring style drawn on the canvas. This would mean that if an author were to override this style that the appearance of the standard focus ring drawn on the canvas could reflect this change in style.
Would this replace the existing note under step 2? "Note: Some platforms only draw focus rings around elements that have been focused from the keyboard, and not those focused from the mouse. Other platforms simply don't draw focus rings around some elements at all unless relevant accessibility features are enabled. This API is intended to follow these conventions. User agents that implement distinctions based on the manner in which the element was focused are encouraged to classify focus driven by the focus() method based on the kind of user interaction event from which the call was triggered (if any)." or be added to it?
I don't really understand how this would work. What if a platform doesn't use 'outline' for focus rings? What if the author is using borders in CSS for focus, instead of outlines? Does it mean that if someone overrides 'outline' on all elements, e.g.: * { outline: none; } ...then no outlines will be drawn in <canvas>?
Removing CR status as this feature is on the at-risk list and will be removed from the first level
Moved back to L1
Moved to L1
drawSystemFocusRing is no longer. Closing.
No longer relevant per previous comment