diff options
author | Florian Merz <me@fiji-flo.de> | 2021-02-11 12:56:53 +0100 |
---|---|---|
committer | Florian Merz <me@fiji-flo.de> | 2021-02-11 12:56:53 +0100 |
commit | fc56124ac4eda6b3f0349c8a16fa750f27b4c7d6 (patch) | |
tree | 7089f49c5dcc5428f29711439ab79ac387caf44f /files/zh-cn/web/accessibility | |
parent | 310fd066e91f454b990372ffa30e803cc8120975 (diff) | |
download | translated-content-fc56124ac4eda6b3f0349c8a16fa750f27b4c7d6.tar.gz translated-content-fc56124ac4eda6b3f0349c8a16fa750f27b4c7d6.tar.bz2 translated-content-fc56124ac4eda6b3f0349c8a16fa750f27b4c7d6.zip |
unslug zh-cn: modify
Diffstat (limited to 'files/zh-cn/web/accessibility')
-rw-r--r-- | files/zh-cn/web/accessibility/aria/aria_techniques/using_the_aria-hidden_attribute/index.html | 3 | ||||
-rw-r--r-- | files/zh-cn/web/accessibility/aria/roles/button_role/index.html | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/files/zh-cn/web/accessibility/aria/aria_techniques/using_the_aria-hidden_attribute/index.html b/files/zh-cn/web/accessibility/aria/aria_techniques/using_the_aria-hidden_attribute/index.html index 8b7f706afa..609558f2e4 100644 --- a/files/zh-cn/web/accessibility/aria/aria_techniques/using_the_aria-hidden_attribute/index.html +++ b/files/zh-cn/web/accessibility/aria/aria_techniques/using_the_aria-hidden_attribute/index.html @@ -1,6 +1,6 @@ --- title: 使用aria-hidden属性 -slug: Web/Accessibility/ARIA/ARIA_Techniques/使用aria-hidden属性 +slug: Web/Accessibility/ARIA/ARIA_Techniques/Using_the_aria-hidden_attribute tags: - HTML - Rôle @@ -10,6 +10,7 @@ tags: - 客户端 - 警告 translation_of: Web/Accessibility/ARIA/ARIA_Techniques/Using_the_aria-hidden_attribute +original_slug: Web/Accessibility/ARIA/ARIA_Techniques/使用aria-hidden属性 --- <p>{{draft}}</p> diff --git a/files/zh-cn/web/accessibility/aria/roles/button_role/index.html b/files/zh-cn/web/accessibility/aria/roles/button_role/index.html index e0e35c449a..6bfea20c6d 100644 --- a/files/zh-cn/web/accessibility/aria/roles/button_role/index.html +++ b/files/zh-cn/web/accessibility/aria/roles/button_role/index.html @@ -1,11 +1,12 @@ --- title: Using the button role -slug: Web/Accessibility/ARIA/ARIA_Techniques/Using_the_button_role +slug: Web/Accessibility/ARIA/Roles/button_role tags: - ARIA - 可访问性 - 无障碍 translation_of: Web/Accessibility/ARIA/Roles/button_role +original_slug: Web/Accessibility/ARIA/ARIA_Techniques/Using_the_button_role --- <p><strong><a href="https://www.w3.org/TR/wai-aria/roles#button">button</a></strong> 角色应该用于可单击的元素, 当用户激活时触发响应。 在其本身,<code>role="button"</code> 可以使任何元素 (e.g. {{HTMLElement("p")}}, {{HTMLElement("span")}} or {{HTMLElement("div")}}) 作为一个屏幕阅读器的按钮控件出现。此外,该角色还可以与 <code>aria-pressed</code> 属性组合使用,以创建切换按钮。</p> |