W3C home > Mailing lists > Public > w3c-wai-gl@w3.org > January to March 2019

Automatied testing options for 2.1.4 Character key Shortcuts and 2.5.2 Pointer Cancellation

From: Detlev Fischer <detlev.fischer@testkreis.de>
Date: Thu, 17 Jan 2019 14:31:21 +0100
To: public-wcag-act@w3.org
Cc: WCAG group <w3c-wai-gl@w3.org>
Message-ID: <4f0376e8-b5e3-3494-9a8b-ec788c0b8de6@testkreis.de>
Hi,

apologies for cross-posting.

There are two new WCAG 2.1 Success Critieria which might lend themselves 
well to automatic testing.

SC 2.1.4 Character key Shortcuts

I have written a draft Failure for 2.1.4  Character key Shortcuts 
https://github.com/w3c/wcag/pull/584 which currently has a rather clumsy 
and in any case time-consuming manual test (press each character key, 
watch for functions being triggered). Are there reliable ways to check 
for the presence of key event handlers that do not use modifier keys in 
all possible script invocation scenarios? If so, having a bookmarklet or 
similar to carry out this check would be great.

SC 2.5.2 Pointer Cancellation

A possibly automated check would look for functions on a page that 
trigger actions on "down events" (mousedown, touchdown  - not sure if we 
need to include mouseenter and touchenter since these would presumably 
also be fired). Since multistep events as in drag-n-drop are OK if there 
is a way to undo, abort, revert the action (which I guess cannot be 
safely tested automatically) the automatic part would be a first step in 
a semi-automatic test procedure.

I wonder if people in the ACT TF have already contemplated the 
feasibility of automatic checks for these two SCs, or are aware of 
anyone who might have put something together already which could be 
referenced in a Sufficient Technique or Failure test procedure.

Detlev

-- 
Detlev Fischer
Testkreis
Werderstr. 34, 20144 Hamburg

Mobil +49 (0)157 57 57 57 45

http://www.testkreis.de
Beratung, Tests und Schulungen für barrierefreie Websites
Received on Thursday, 17 January 2019 13:30:47 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 21:08:29 UTC