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

> But yes, lacking the ability to programmatically query "which event listeners are registered on this page/element", the only solution at the moment would be to scour any referenced JS files or <script> elements, and take the presence of any of those strings as a flag for manual checking.

Or do some monkey testing sending keystrokes to the page and different focused controls.

Jonathan

-----Original Message-----
From: Patrick H. Lauke <redux@splintered.co.uk> 
Sent: Monday, February 4, 2019 6:26 AM
To: w3c-wai-gl@w3.org
Subject: Re: Automatied testing options for 2.1.4 Character key Shortcuts and 2.5.2 Pointer Cancellation

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.


On 17/01/2019 13:31, Detlev Fischer wrote:
[...]
> 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

Also include pointerdown event.

But yes, lacking the ability to programmatically query "which event listeners are registered on this page/element", the only solution at the moment would be to scour any referenced JS files or <script> elements, and take the presence of any of those strings as a flag for manual checking.

P
--
Patrick H. Lauke

www.splintered.co.uk | https://github.com/patrickhlauke http://flickr.com/photos/redux/ | http://redux.deviantart.com

twitter: @patrick_h_lauke | skype: patrick_h_lauke

Received on Monday, 4 February 2019 15:27:30 UTC