Skip to content

[html] 第101天 说说你对accesskey的理解,举例说明它有什么运用场景? #984

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
haizhilin2013 opened this issue Jul 25, 2019 · 4 comments
Labels
html html

Comments

@haizhilin2013
Copy link
Collaborator

第101天 说说你对accesskey的理解,举例说明它有什么运用场景?

@haizhilin2013 haizhilin2013 added the html html label Jul 25, 2019
@xiangshuo1992
Copy link
Contributor

[html] 第80天 简述下HTML的快捷键属性是哪个?并举例说明有什么用? · Issue #572 · haizlin/fe-interview

@josh-axy
Copy link

accesskey windows按下ALT+ 特定键 会跳转的特定位置 mac是CTRL

@haizhilin2013
Copy link
Collaborator Author

@xiangshuo1992 抱歉,这个真的是重复了

@censek
Copy link

censek commented Jan 16, 2020

accessKey 可以注入到任意的元素中,通过快捷键触发对应元素的绑定事件。

<a href="http://www.baidu.com" accesskey="1">快捷键1直接跳转百度</a>

mac 快捷键: control + option + key

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
html html
Projects
None yet
Development

No branches or pull requests

4 participants