Skip to content

Commit 1c71910

Browse files
committed
Update allowed roles for <hr>
as `hr` can accept a `presentation` role, it can also accept a `role=“none”`. This commit also updates the validator.w3.org url from http to https.
1 parent 81860c9 commit 1c71910

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎index.html

+3-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
</pre>
5151

5252
<details><summary>Example document for conformance checking</summary>
53-
<p>If you <a href="http://validator.w3.org/nu/?doc=https%3A%2F%2Fw3c..io%2Fhtml-aria%2Fexamples%2Fnonconforming1.html" target="_blank">check this file</a> using a HTML5 <a href="http://validator.w3.org/nu/">conformance checker</a> an error will be displayed.</p>
53+
<p>If you <a href="https://validator.w3.org/nu/?doc=https%3A%2F%2Fw3c..io%2Fhtml-aria%2Fexamples%2Fnonconforming1.html" target="_blank">check this file</a> using a HTML5 <a href="http://validator.w3.org/nu/">conformance checker</a> an error will be displayed.</p>
5454
<p><a href="examples/nonconforming1.html">non conforming ARIA use example</a>:</p>
5555
<iframe style="width:100%;height:300px" src="examples/nonconforming1.html"></iframe>
5656
</details>
@@ -287,7 +287,8 @@ <h2 id="docconformance">Document conformance requirements for use of ARIA attrib
287287
<TR id="hr" tabindex="-1">
288288
<TD><code><a href="https://www.w3.org/TR/html/grouping-content.html#the-hr-element">hr</a> </code>
289289
<TD><code>role=<a href="#index-aria-separator">separator</a></code></TD>
290-
<TD><p>Role: <code>presentation</code></p>
290+
<TD>
291+
<p>Roles: <code><a href="#index-aria-none">none</a></code> or <a href="#index-aria-presentation"><code>presentation</code></a></p>
291292
<p>DPub Role: <a href="https://www.w3.org/TR/dpub-aria-1.0/#doc-pagebreak"><code>doc-pagebreak</code></a> - <span class="new-feature">(new)</span></p>
292293
<p><a href="#index-aria-global">global <code>aria-*</code> attributes</a> and any <code>aria-*</code> attributes applicable to the <code>separator</code> role.</p></TD>
293294
</TR>

0 commit comments

Comments
 (0)