About HTML5 Access Keys

Asked 2 years ago, Updated 2 years ago, 54 views

I heard that there is something called an access key in HTML, but
Can't I use the function key for the access key?

<button type="button" id="search" name="search" accesskey="U"/>
<Button type="Button" id="Search" name="Search" accesskey="<F3>"/>

It moves at the top, but it doesn't move at the bottom.
However, even the function (search) of F3 will not work in the first place.

Can't I assign a function key to an access key?

html5

2022-09-30 21:18

1 Answers

7.5 Assigning keyboard shortcuts
Japanese translation
According to

The value must be a case sensitive, ordered, space-separated, unique set of tokens. Each value must be one Unicode code point length.

So I don't think I can assign a function key that doesn't correspond to a particular Unicode character.


2022-09-30 21:18

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.