惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

U
Unit 42
P
Proofpoint News Feed
The Last Watchdog
The Last Watchdog
S
Secure Thoughts
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
N
News | PayPal Newsroom
Application and Cybersecurity Blog
Application and Cybersecurity Blog
O
OpenAI News
S
Security @ Cisco Blogs
宝玉的分享
宝玉的分享
Hacker News: Ask HN
Hacker News: Ask HN
T
Troy Hunt's Blog
Google Online Security Blog
Google Online Security Blog
WordPress大学
WordPress大学
有赞技术团队
有赞技术团队
TaoSecurity Blog
TaoSecurity Blog
Help Net Security
Help Net Security
Latest news
Latest news
NISL@THU
NISL@THU
S
Security Affairs
博客园_首页
C
CXSECURITY Database RSS Feed - CXSecurity.com
博客园 - 聂微东
AI
AI
www.infosecurity-magazine.com
www.infosecurity-magazine.com
Recent Announcements
Recent Announcements
P
Privacy & Cybersecurity Law Blog
小众软件
小众软件
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Hugging Face - Blog
Hugging Face - Blog
博客园 - 司徒正美
AWS News Blog
AWS News Blog
W
WeLiveSecurity
Google DeepMind News
Google DeepMind News
I
InfoQ
Schneier on Security
Schneier on Security
Recent Commits to openclaw:main
Recent Commits to openclaw:main
T
The Exploit Database - CXSecurity.com
IT之家
IT之家
T
Threatpost
Scott Helme
Scott Helme
L
LINUX DO - 热门话题
腾讯CDC
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
N
News and Events Feed by Topic
L
LINUX DO - 最新话题
F
Full Disclosure
大猫的无限游戏
大猫的无限游戏
H
Heimdal Security Blog
S
SegmentFault 最新的问题

Recent Commits to using-aria:gh-pages

Updates to Using ARIA (#62) · w3c/using-aria@002bb7a Merge pull request #55 from w3c/auto-pub · w3c/using-aria@dd885f4 chore: auto-publish · w3c/using-aria@a297117 chore: relocate github files · w3c/using-aria@bb10b67 chore: update ReSpec config · w3c/using-aria@a655ddc chore: fix Marcos' email · w3c/using-aria@4c77f4e update WG id · w3c/using-aria@d3e0bc0 Merge pull request #53 from tomayac/patch-1 · w3c/using-aria@0e3039c Correct MSIE casing, remove erroneous invisible space · w3c/using-aria@a035299 Merge pull request #46 from w3c/marcoscaceres-patch-1 · w3c/using-aria@6b026e1 tidy CSS · w3c/using-aria@79646b3 Small fixup · w3c/using-aria@259fb92 Fixup some references · w3c/using-aria@bb67d26 chore: remove redundant js · w3c/using-aria@fcad449 Use CSS for th width · w3c/using-aria@c79750d Chore: set up link validation · w3c/using-aria@660bccc Editorial: Changed ARIA 1.1 links to 1.2 and HTTPS · w3c/using-aria@30a0f6d Changed ARIA 1.1 links to 1.2 and HTTPS · w3c/using-aria@ce2d1fc fix markup typo · w3c/using-aria@94392cf
Editorial: Update link to 'Just use a (native) HTML button' · w3c/using-aria@f644774
2019-07-01 · via Recent Commits to using-aria:gh-pages
Original file line numberDiff line numberDiff line change

@@ -200,7 +200,7 @@ <h3 tabindex="-1" id="rule1">First Rule of ARIA Use</h3>

200200

<pre class="nohighlight"><code class="block">&lt;<mark>h2</mark> <mark>role=tab</mark>&gt;heading tab&lt;/<mark>h2</mark>&gt;</code> </pre>

201201

<p><strong>Do</strong> this:</p>

202202

<pre class="nohighlight"><code class="block">&lt;div <mark>role=tab</mark>&gt;<mark></mark>&lt;<mark>h2</mark>&gt;heading tab&lt;/<mark>h2</mark>&gt;<mark></mark>&lt;/div&gt;</code></pre>

203-

<p class="note">If a non-interactive element is used as the basis for an interactive element, developers have to add the semantics using ARIA and the appropriate interaction behavior using scripting. In the case of a button, for example, it is <strong>much better</strong> and easier to <a href="https://blog.paciellogroup.com/2011/04/html5-accessibility-chops-just-use-a-button/">Just use a (native HTML) button</a>.</p>

203+

<p class="note">If a non-interactive element is used as the basis for an interactive element, developers have to add the semantics using ARIA and the appropriate interaction behavior using scripting. In the case of a button, for example, it is <strong>much better</strong> and easier to <a href="https://developer.paciellogroup.com/blog/2011/04/html5-accessibility-chops-just-use-a-button/">Just use a (native HTML) button</a>.</p>

204204

<p class="note">It is OK to use native HTML elements, that have similar semantics to ARIA roles used, for fallback. For example, using HTML <a href="https://www.w3.org/TR/html51/grouping-content.html#elementdef-ul">list elements</a> for the skeleton of an ARIA-enabled, scripted <a href="http://hanshillen.github.io/jqtest/#goto_tree">tree widget</a>.</p></section>

205205

<section id="3rdrule"> <h3 tabindex="-1" id="third">Third Rule of ARIA Use</h3>

206206

<p>All interactive ARIA controls must be usable with the keyboard. </p>