W3C home > Mailing lists > Public > public-canvas-api@w3.org > July to September 2014

Re: drawFocusIfNeeded Question

From: Richard Schwerdtfeger <schwer@us.ibm.com>
Date: Fri, 12 Sep 2014 08:44:33 -0500
To: Rik Cabanier <cabanier@gmail.com>
Cc: Jay Munro <jaymunro@microsoft.com>, mark.sadecki@gmail.com, "public-canvas-api@w3.org" <public-canvas-api@w3.org>
Message-ID: <OF6A5F0002.5D634361-ON86257D51.004B6CF9-86257D51.004B78AE@us.ibm.com>

OK. I will continue with the testable statements.

Thanks Rik,

Rich


Rich Schwerdtfeger



From:	Rik Cabanier <cabanier@gmail.com>
To:	Richard Schwerdtfeger/Austin/IBM@IBMUS
Cc:	Jay Munro <jaymunro@microsoft.com>, "public-canvas-api@w3.org"
            <public-canvas-api@w3.org>, mark.sadecki@gmail.com
Date:	09/11/2014 07:03 PM
Subject:	Re: drawFocusIfNeeded Question



Hi Rich,

yes, we are supposed to set the location of the fallback element.
So, if you use a11y software and inspect the region of the fallback
element, it should be the bounds of the path that was in effect during
drawFocusIfNeeded


On Thu, Sep 11, 2014 at 3:58 PM, Richard Schwerdtfeger <schwer@us.ibm.com>
wrote:
  Does someone have an answer?


  Rich Schwerdtfeger

  Inactive hide details for Jay Munro ---09/11/2014 03:30:53 PM---Adding in
  canvas wg. From: Richard Schwerdtfeger [mailto:schwerJay Munro
  ---09/11/2014 03:30:53 PM---Adding in canvas wg. From: Richard
  Schwerdtfeger [mailto:schwer@us.ibm.com]

  From: Jay Munro <jaymunro@microsoft.com>
  To: Richard Schwerdtfeger/Austin/IBM@IBMUS
  Cc: Rik Cabanier <cabanier@gmail.com>, Mark Sadecki <mark@w3.org>, "
  public-canvas-api@w3.org" <public-canvas-api@w3.org>
  Date: 09/11/2014 03:30 PM
  Subject: RE: drawFocusIfNeeded Question




  Adding in canvas wg.


  From: Richard Schwerdtfeger [mailto:schwer@us.ibm.com]
  Sent: Thursday, September 11, 2014 1:27 PM
  To: Jay Munro
  Cc: Rik Cabanier; Mark Sadecki
  Subject: drawFocusIfNeeded Question



  Hi Jay, Rik, Mark,

  I am writing testable statements for us here:
  https://www.w3.org/wiki/HTML/Canvas_Task_Force/CR-Test#Testable_Statements
      (Mark, I think that in general we could work off modified versions of
  your test file with the
  2 boxes).

  What I noticed under drawFocusIfNeeded was that it says we are notifying
  the user of the location of the focus ring:

  http://www.w3.org/TR/2dcontext/#dom-context-2d-drawfocusifneeded

  What really brought this to a head for me was writing the testable
  statement for when the bounds are clipped and should be shouldbe subject
  to the clipping region. When the focus area is clipped by the canvas
  element, only the visual representation of the focus outline is clipped
  to the clipping region.

  Then it says we inform the user of the location given by the path.

  It was my understanding that drawFocusIfNeeded did not set the location
  of the fallback element. Yet, here it clearly states that it does.

  Did I misunderstand or forget our decision on this?

  Best,
  Rich


  Rich Schwerdtfeger









graycol.gif
(image/gif attachment: graycol.gif)

Received on Friday, 12 September 2014 13:45:10 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:31:57 UTC