<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>23984</bug_id>
          
          <creation_ts>2013-12-03 16:56:45 +0000</creation_ts>
          <short_desc>Is it possible to implement drawCustomFocusRing?</short_desc>
          <delta_ts>2015-06-16 20:46:15 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>CR HTML Canvas 2D Context</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>a11y_canvas</keywords>
          <priority>P2</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Philippe Le Hegaret">plh</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          <cc>mark.sadecki+w3c</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>schwer</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>97064</commentid>
    <comment_count>0</comment_count>
    <who name="Philippe Le Hegaret">plh</who>
    <bug_when>2013-12-03 16:56:45 +0000</bug_when>
    <thetext>Can the user agent actually know that the user requested particular focus rings (e.g. high-contrast focus ring, &quot;make the focus rectangle thicker&quot; on Windows)?
If not, then drawCustomFocusRing will always have no effect in user agents... 

[[
What I don&apos;t understand is how a browser is supposed to implement the high
contrast focus ring support on a real operating system that exists today.
Are there other apps that do this? Are there published guidelines anywhere?

Windows has a system setting for high-contrast mode. When you turn on high
contrast mode, it changes the default color palette. There&apos;s no other
effect on the focus ring that I know of.

Windows also has settings for the focus ring width. I agree those should
affect the system focus ring, but I don&apos;t think users would expect that to
override a canvas author&apos;s focus ring.

High contrast mode may affect the system focus ring color, it&apos;s true - but
there&apos;s no reason to believe that this system focus ring would look better
on a canvas when high contrast mode is on, and in fact it might look much
worse.

Third-party accessibility tools that draw focus rings aren&apos;t relevant here.
They draw independently of applications; applications like browsers are not
supposed to draw anything different.
]]
http://lists.w3.org/Archives/Public/public-whatwg-archive/2013Oct/0035.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97081</commentid>
    <comment_count>1</comment_count>
    <who name="Jay Munro">jaymunro</who>
    <bug_when>2013-12-03 21:30:46 +0000</bug_when>
    <thetext>Reassigning to Canvas 2D Context Level 2 since drawSystemFocusRing and drawCustomFocusRing are at risk for CR.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97127</commentid>
    <comment_count>2</comment_count>
    <who name="Rich Schwerdtfeger">schwer</who>
    <bug_when>2013-12-04 15:02:33 +0000</bug_when>
    <thetext>I think everyone agrees this should be moved to L2.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97142</commentid>
    <comment_count>3</comment_count>
    <who name="Philippe Le Hegaret">plh</who>
    <bug_when>2013-12-04 18:00:37 +0000</bug_when>
    <thetext>I actually don&apos;t believe that there is agreement to delay drawCustomFocusRing to L2. I&apos;m not suggesting at all that it shouldn&apos;t be, but not everyone is on the same line yet.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97154</commentid>
    <comment_count>4</comment_count>
    <who name="Jay Munro">jaymunro</who>
    <bug_when>2013-12-04 19:48:17 +0000</bug_when>
    <thetext>I jumped the gun on moving to L2, there are still ongoing discussions on the focus ring methods. Moving back to CR until discussions are complete.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97233</commentid>
    <comment_count>5</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2013-12-06 07:15:20 +0000</bug_when>
    <thetext>(In reply to Rich Schwerdtfeger from comment #2)
&gt; I think everyone agrees this [drawCustomFocusRing] should be moved to L2.

I concur with Rich here.

(In reply to Philippe Le Hegaret from comment #3)
&gt; I actually don&apos;t believe that there is agreement to delay
&gt; drawCustomFocusRing to L2.

I don&apos;t believe there&apos;s agreement not to delay it :-)

&gt; I&apos;m not suggesting at all that it shouldn&apos;t be,
&gt; but not everyone is on the same line yet.

Specifically who can you think of who&apos;d object at this point to deferring drawCustomFocusRing, and why?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97246</commentid>
    <comment_count>6</comment_count>
    <who name="Rich Schwerdtfeger">schwer</who>
    <bug_when>2013-12-06 15:43:05 +0000</bug_when>
    <thetext>Phillipe, the browser manufacturers conveyed to me that drawCustomFocusRing should be delayed as it needed more specification. Perhaps we have bought more time to address it. drawSystemFocusRing is essential but with media queries providing the fact that there system is in high contrast mode this could wait. Let&apos;s see what the group comes up with after the modifications.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97341</commentid>
    <comment_count>7</comment_count>
    <who name="Philippe Le Hegaret">plh</who>
    <bug_when>2013-12-09 18:04:54 +0000</bug_when>
    <thetext>It seems that history gets lost pretty quickly.

On November 6, Rich made the following statement:
[[
We will be testing drawCustomFocusRing as well but it has been implemented in
FF 28. Both are fully working in Chrome Canary for Windows and Mac OSX.
Implementation will not be a problem.
]]
http://lists.w3.org/Archives/Public/public-html-a11y/2013Nov/0010.html

On December 3, Charles sent the following statement related to *keeping drawCustomFocusRing* in the spec:
[[
This proposition has not received consensus. While there was only one  
clear objection objection [1], it appears likely there is further dissent.  
However, it does have significant support. It is also the pre-existing  
position of the Task Force.
]]
http://lists.w3.org/Archives/Public/public-html-a11y/2013Dec/0006.html

Note the &quot;significant support&quot; mentioned above. I didn&apos;t assert that there is support to keep it in the spec, I simply want to acknowledge in this issue that there is no consensus to remove it, due to not having everyone on the same line.

I actually argue that drawCustomFocusRing isn&apos;t implemented in this email:
[[
While both Google Canary and Firefox Nightly have the function
drawCustomFocusRing, I did not manage to make it do anything even after
activating &quot;High-Contrast&quot; and/or &quot;Thicker Rectangle&quot; on Windows 8. See
also
 https://www.w3.org/Bugs/Public/show_bug.cgi?id=23984
]]
http://lists.w3.org/Archives/Public/public-html-a11y/2013Dec/0011.html

and no one disputed that email so far, or told me that I didn&apos;t use the proper method to test drawCustomFocusRing.

The whole point of this issue is to highlight the fact that implementation of drawCustomFocusRing will be problematic, and to bring this question to a useful conclusion, rather than assumptions on each side without ever reaching a clear conclusion.

There is now a CfC on the table to remove drawCustomFocusRing:
[[ 
The Task Force supports removing drawCustomFocusRing from the Canvas 2d  
Context level 1.
]]
http://lists.w3.org/Archives/Public/public-html-a11y/2013Dec/0022.html

This should hopefully resolve this issue and allows us to move on. After that, we ought to be able to assert that there is agreement to remove it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98095</commentid>
    <comment_count>8</comment_count>
    <who name="Jay Munro">jaymunro</who>
    <bug_when>2014-01-07 17:27:21 +0000</bug_when>
    <thetext>Per A11y/Canvas taskforce, moving to Canvas Context 2D level 2 for more work.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>121122</commentid>
    <comment_count>9</comment_count>
    <who name="Philippe Le Hegaret">plh</who>
    <bug_when>2015-06-16 20:25:18 +0000</bug_when>
    <thetext>Reassigned to CR version.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>121137</commentid>
    <comment_count>10</comment_count>
    <who name="Philippe Le Hegaret">plh</who>
    <bug_when>2015-06-16 20:46:15 +0000</bug_when>
    <thetext>drawCustomFocusRing is no longer. Closing.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>