W3C home > Mailing lists > Public > public-html-a11y@w3.org > February 2014

Re: example of hit regions and drawFocusIfNeeded

From: Mark Sadecki <mark@w3.org>
Date: Wed, 26 Feb 2014 10:56:29 -0500
Message-ID: <530E0EAD.3020401@w3.org>
To: Rik Cabanier <cabanier@gmail.com>, "public-canvas-api@w3.org" <public-canvas-api@w3.org>, "public-html-a11y@w3.org" <public-html-a11y@w3.org>
On 2/25/14, 8:10 PM, Rik Cabanier wrote:
> All,
> in yesterday's meeting I was asked to provide a build of Firefox along with a test.
> The patches landed today so the functionality should be available tomorrow (2/26).
Excellent, I have it installed already.
> There are also private builds in case you can't wait :-):
> http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/cabanier@adobe.com-99eeaa50e559/try-macosx64/firefox-29.0a1.en-US.mac.dmg
> http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/cabanier@adobe.com-99eeaa50e559/try-win32/firefox-29.0a1.en-US.win32.installer.exe
> This is a small example: http://codepen.io/adobe/pen/BhcmK (which was originally written by Mark)
Brilliant!  Works for me :)  (And this test was originally submitted by Rich Shwerdtfeger)

I have verified that location information is available to AAPI using AViewer for Windows.

I have some additional questions regarding the Hit Regions section of the spec that I will send in a follow-up email.  Great work, Rik.

> To test this, install the private build or nightly and go to "about:config" 
> Now search for canvas.hitregions.enabled and set it to 'true'
> Also search for canvas.focusring,enabled and set it to 'true'
> If one of these options is absent, you have the wrong version of Firefox.
> Now restart Firefox and open http://codepen.io/adobe/full/BhcmK <http://codepen.io/adobe/pen/BhcmK>. This is a full screen version of the sample that's easier to test.
> To test focus rings, select a checkbox with the mouse or use the Tab key to change the focus.
> You will see that there's a ring around the selection.
> To test hit regions:
> open your a11y software (I used accessibility probe on windows with "highlight selected" turned on)
> If you tab into a checkbox and check/uncheck it, you should see the info in your a11y tool
> If you hover over a checkbox and its text, you should also see the info. (Both focused content and content under the mouse cursor is working)
> Let me know what you think or if you run into any issues!

Mark Sadecki
Web Accessibility Engineer
World Wide Web Consortium, Web Accessibility Initiative
Telephone: +1.617.715.4017
Email: mark@w3.org
Web: http://w3.org/People/mark
Received on Wednesday, 26 February 2014 15:56:23 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:56:37 UTC