- From: Patrick H. Lauke <redux@splintered.co.uk>
- Date: Wed, 26 Oct 2022 09:57:02 +0100
- To: w3c-wai-ig@w3.org
On 26/10/2022 07:19, Tom Shaw wrote: > Hi all. > > I have a text input with the following JS event handlers: > change/input/keydown/keyup > > When a screen reader is registering their Email address for example on a > form and then press the Esc key to exit that form element, the page > closed and redirected the user back to the previous page when using the > Esc key. I have removed both keyup/keydown even and the Esc issue is > resolved. > > I have found the following failure Pointer Cancellation (A)and wondered > if I was heading in the right direction Assuming the question is whether or not Pointer Cancellation is the correct SC to note this problem under as a failure, the answer is no. The SC relates to "Pointer" - either using mouse, touch, or a stylus. It is not related to keyboard entry. From memory, I believe there's a bug in JAWS where "Esc" is used to exit forms mode, but then JAWS *also* passes on that keystroke to the underlying page (rather than "consuming" that keystroke as a command). Not sure this currently hard-fails any particular SC. In the context of an audit, I'd note this as a best practice failure (and possibly check the JAWS bug tracker - assuming this was in JAWS - to see if this bug has been filed/is still open). P -- Patrick H. Lauke https://www.splintered.co.uk/ | https://github.com/patrickhlauke https://flickr.com/photos/redux/ | https://www.deviantart.com/redux twitter: @patrick_h_lauke | skype: patrick_h_lauke
Received on Wednesday, 26 October 2022 08:57:17 UTC