aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/htmlelement/accesskey/index.html
diff options
context:
space:
mode:
authorFlorian Dieminger <me@fiji-flo.de>2021-02-11 18:29:51 +0100
committerGitHub <noreply@github.com>2021-02-11 18:29:51 +0100
commit2bc5610921312613f8623f7ed347aa576689b2b6 (patch)
treef17a7a00e232c97d1335ff3cb24dbcfafacfe141 /files/zh-cn/web/api/htmlelement/accesskey/index.html
parent964decad361766e85d928a56f0ab80af0e75c172 (diff)
parentfc56124ac4eda6b3f0349c8a16fa750f27b4c7d6 (diff)
downloadtranslated-content-2bc5610921312613f8623f7ed347aa576689b2b6.tar.gz
translated-content-2bc5610921312613f8623f7ed347aa576689b2b6.tar.bz2
translated-content-2bc5610921312613f8623f7ed347aa576689b2b6.zip
Merge pull request #32 from fiji-flo/unslugging-zh-cn
Unslugging zh cn
Diffstat (limited to 'files/zh-cn/web/api/htmlelement/accesskey/index.html')
-rw-r--r--files/zh-cn/web/api/htmlelement/accesskey/index.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/files/zh-cn/web/api/htmlelement/accesskey/index.html b/files/zh-cn/web/api/htmlelement/accesskey/index.html
new file mode 100644
index 0000000000..832396ac33
--- /dev/null
+++ b/files/zh-cn/web/api/htmlelement/accesskey/index.html
@@ -0,0 +1,24 @@
+---
+title: Element.accessKey
+slug: Web/API/HTMLElement/accessKey
+tags:
+ - API接口
+ - 属性
+ - 需要丰富内容
+translation_of: Web/API/HTMLElement/accessKey
+translation_of_original: Web/API/Element/accessKey
+original_slug: Web/API/Element/accessKey
+---
+<div>{{APIRef("DOM")}}</div>
+
+<div> </div>
+
+<p><font face="Consolas, Monaco, Andale Mono, monospace">元素的<strong> Element.accessKey</strong></font> 属性设置了这样一个按键——用户通过敲击这个键把焦点跳转到这个元素上。</p>
+
+<div class="note">
+<p>注: <em> <strong>Element.accessKey </strong>属性很少使用,因为它很容易与现代浏览器自带的快捷键冲突。为了解决这个问题,浏览器约定accessKey键与特定按键一起按(比如 Alt + accessKey)来生效快捷键行为。</em></p>
+</div>
+
+<p> </p>
+
+<p> </p>