From b8b5569ffa6172114a1fbf9a439a651aa9d1eb7a Mon Sep 17 00:00:00 2001 From: "Patrick H. Lauke" Date: Thu, 1 May 2025 08:48:05 +0100 Subject: [PATCH 1/4] Correct F99 - keyCode is not an attribute Closes https://github.com/w3c/wcag/issues/4344 --- techniques/failures/F99.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/techniques/failures/F99.html b/techniques/failures/F99.html index 6cc68da54e..611e6c6172 100644 --- a/techniques/failures/F99.html +++ b/techniques/failures/F99.html @@ -31,7 +31,7 @@

Description

The test procedure suggests asking the author (often the developer of the site) whether keyboard shortcuts are used. If that information is trusted then the procedure can be simpler than pressing all the keys.

The success criterion does not apply when single key shortcuts are only active when interface elements have the focus, for example, a select element. Here, pressing a letter key is used for fast navigation within the select options.

-

Viewing page scripts and searching for typical keyboard event handlers like document.addEventListener('keydown' ...) or the presence of the .keycode attribute +

Viewing page scripts and searching for typical keyboard event handlers like document.addEventListener('keydown' ...) or the handling of event properties like key, code, charCode, or keyCode may establish the presence of scripts that intercept keyboard shortcuts without modification keys like ALT or Ctrl being held down at the same time. As there are several ways of implementing character key events, this method is not considered reliable.

Some browsers employ single key shortcuts with Shift. For example, Firefox opens a page search when pressing Shift + / and a search in page links when pressing Shift + '. In these cases, it will be necessary to press Esc or click an empty part of the page to remove the focus from the browser input.

From c344030bae0566b3823b892eef7d75c8541a89a9 Mon Sep 17 00:00:00 2001 From: Alastair Campbell Date: Fri, 6 Jun 2025 16:21:33 +0100 Subject: [PATCH 2/4] Update techniques/failures/F99.html --- techniques/failures/F99.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/techniques/failures/F99.html b/techniques/failures/F99.html index 611e6c6172..115598c371 100644 --- a/techniques/failures/F99.html +++ b/techniques/failures/F99.html @@ -31,7 +31,7 @@

Description

The test procedure suggests asking the author (often the developer of the site) whether keyboard shortcuts are used. If that information is trusted then the procedure can be simpler than pressing all the keys.

The success criterion does not apply when single key shortcuts are only active when interface elements have the focus, for example, a select element. Here, pressing a letter key is used for fast navigation within the select options.

-

Viewing page scripts and searching for typical keyboard event handlers like document.addEventListener('keydown' ...) or the handling of event properties like key, code, charCode, or keyCode +

Viewing page scripts and searching for typical keyboard event handlers such as document.addEventListener('keydown' ...) or the handling of event properties like key, code, charCode, or keyCode may establish the presence of scripts that intercept keyboard shortcuts without modification keys like ALT or Ctrl being held down at the same time. As there are several ways of implementing character key events, this method is not considered reliable.

Some browsers employ single key shortcuts with Shift. For example, Firefox opens a page search when pressing Shift + / and a search in page links when pressing Shift + '. In these cases, it will be necessary to press Esc or click an empty part of the page to remove the focus from the browser input.

From 94ae62a3c9d55e1a4f81f42e92bef98582113561 Mon Sep 17 00:00:00 2001 From: "Kenneth G. Franqueiro" Date: Fri, 6 Jun 2025 11:29:32 -0400 Subject: [PATCH 3/4] "like" -> "such as" Co-authored-by: Alastair Campbell --- techniques/failures/F99.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/techniques/failures/F99.html b/techniques/failures/F99.html index 115598c371..736f9066e1 100644 --- a/techniques/failures/F99.html +++ b/techniques/failures/F99.html @@ -31,7 +31,7 @@

Description

The test procedure suggests asking the author (often the developer of the site) whether keyboard shortcuts are used. If that information is trusted then the procedure can be simpler than pressing all the keys.

The success criterion does not apply when single key shortcuts are only active when interface elements have the focus, for example, a select element. Here, pressing a letter key is used for fast navigation within the select options.

-

Viewing page scripts and searching for typical keyboard event handlers such as document.addEventListener('keydown' ...) or the handling of event properties like key, code, charCode, or keyCode +

Viewing page scripts and searching for typical keyboard event handlers such as document.addEventListener('keydown' ...) or the handling of event properties such as key, code, charCode, or keyCode may establish the presence of scripts that intercept keyboard shortcuts without modification keys like ALT or Ctrl being held down at the same time. As there are several ways of implementing character key events, this method is not considered reliable.

Some browsers employ single key shortcuts with Shift. For example, Firefox opens a page search when pressing Shift + / and a search in page links when pressing Shift + '. In these cases, it will be necessary to press Esc or click an empty part of the page to remove the focus from the browser input.

From 45c30735f1963466e2a0097f032f324c38cc8c6b Mon Sep 17 00:00:00 2001 From: "Patrick H. Lauke" Date: Mon, 9 Jun 2025 17:18:04 +0100 Subject: [PATCH 4/4] Update techniques/failures/F99.html Co-authored-by: Dan Bjorge --- techniques/failures/F99.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/techniques/failures/F99.html b/techniques/failures/F99.html index 736f9066e1..8fe26f43cc 100644 --- a/techniques/failures/F99.html +++ b/techniques/failures/F99.html @@ -31,7 +31,7 @@

Description

The test procedure suggests asking the author (often the developer of the site) whether keyboard shortcuts are used. If that information is trusted then the procedure can be simpler than pressing all the keys.

The success criterion does not apply when single key shortcuts are only active when interface elements have the focus, for example, a select element. Here, pressing a letter key is used for fast navigation within the select options.

-

Viewing page scripts and searching for typical keyboard event handlers such as document.addEventListener('keydown' ...) or the handling of event properties such as key, code, charCode, or keyCode +

Viewing page scripts and searching for typical keyboard event handlers such as document.addEventListener('keydown' ...) or the handling of keyboard-related event properties with code such as .key, .code, .charCode, or .keyCode may establish the presence of scripts that intercept keyboard shortcuts without modification keys like ALT or Ctrl being held down at the same time. As there are several ways of implementing character key events, this method is not considered reliable.

Some browsers employ single key shortcuts with Shift. For example, Firefox opens a page search when pressing Shift + / and a search in page links when pressing Shift + '. In these cases, it will be necessary to press Esc or click an empty part of the page to remove the focus from the browser input.