Skip to content

Commit b8b5569

Browse files
committed
Correct F99 - keyCode is not an attribute
Closes #4344
1 parent 4bd0ba9 commit b8b5569

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

techniques/failures/F99.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@

Description

3131
<p>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.p>
3232

3333
<p>The success criterion does not apply when single key shortcuts are only active when interface elements have the focus, for example, a <code class="language-html">selectcode> element. Here, pressing a letter key is used for fast navigation within the select options.p>
34-
<p>Viewing page scripts and searching for typical keyboard event handlers like <code class="language-javascript">document.addEventListener('keydown' ...) code> or the presence of the <code class="language-javascript">.keycodecode> attribute
34+
<p>Viewing page scripts and searching for typical keyboard event handlers like <code class="language-javascript">document.addEventListener('keydown' ...) code> or the handling of event properties like <code class="language-javascript">keycode>, <code class="language-javascript">codecode>, <code class="language-javascript">charCodecode>, or <code class="language-javascript">keyCodecode>
3535
may establish the presence of scripts that intercept keyboard shortcuts without modification keys like <kbd>ALTkbd> or <kbd>Ctrlkbd> being held down at the same time. As there are several ways of implementing character key events, this method is not considered reliable.p>
3636
<p>Some browsers employ single key shortcuts with <kbd>Shiftkbd>. For example, Firefox opens a page search when pressing <kbd>Shiftkbd> + <kbd>/kbd> and a search in page links when pressing <kbd><kbd>Shiftkbd> + <kbd>'kbd>kbd>. In these cases, it will be necessary to press <kbd>Esckbd> or click an empty part of the page to remove the focus from the browser input.p>
3737
section>

0 commit comments

Comments
 (0)