W3C home > Mailing lists > Public > public-html-a11y@w3.org > January 2012

SetElementPath Change proposal (resending in Courier font)

From: Richard Schwerdtfeger <schwer@us.ibm.com>
Date: Tue, 17 Jan 2012 13:08:31 -0600
To: Frank Olivier <franko@microsoft.com>, public-canvas-api@w3.org, public-html-a11y@w3.org
Cc: Charles Pritchard <chuck@jumis.com>, "Cynthia Shelly" <cyns@microsoft.com>, faulkner.steve@gmail.com, dbolter@mozilla.com
Message-ID: <OF8BF3052F.94025BBF-ON86257988.0068C43D-86257988.006926A2@us.ibm.com>


Frank,

I started to review the latest draft of:
http://www.w3.org/wiki/Canvas_hit_testing

- It needs to state what happens when an element is deleted
- It needs to better define how hit testing will work:
"When the user interacts with the canvas, the user agent should forward the
associated events to the fallback element.
If two or more elements have overlapping paths (set via setElementPath())
the last call to setElementPath() applies."


Also, you should make use of the word dispatch vs. forward and you should
also say how you are going to use the canvas isPointInPath function:
http://dev.w3.org/html5/2dcontext/#dom-context-2d-ispointinpath


This is for hit testing so we are referring to pointer events.


- It limits the path to a focus ring. We cannot limit this t focusable
elements. This:
When setElementPath() is called, the drawing path is used to form the focus
ring provided that drawing path contains a closed path. The drawing path is
used to form a best fit bounding rectangle in screen coordinates. The
bounding rectangle and drawing path may be used to enhance accessibility
properties [ARIA] for the targeted element.

should be:

When setElementPath() is called, the drawing path is used to form the
bounds of the associated elementprovided that drawing path contains a
closed path. The drawing path is used to form a best fit bounding rectangle
in screen coordinates. The bounding rectangle and drawing path may be used
to enhance accessibility properties for the targeted element.
- in your step 2 I would use text that Ian has used for focus rings. Such
as follows:

Optionally, inform the user that the element is at the location given by
the path. User agents may wait until the next time the event loop reaches
its "update the rendering" step to optionally inform the user.


"Inform the user", as used in this section, could mean calling a system
accessibility API, which would notify assistive technologies such as
magnification tools. To assist a magnifier in zooming to an arbitrary
element, a system accessibility API must be exposed to a screen magnifier
that coveys the bounds for the object. The magnifier needs the bounds of
the object and its UI semantics in order to properly position the magnifier
around the object. The methods above are intended to enable this by
allowing the user agent to report the bounding box of the path used to form
the bounds of the element element passed as an argument.


Rich Schwerdtfeger
Received on Tuesday, 17 January 2012 19:09:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 04:42:52 GMT