Skip to content

Commit

Permalink
add Author Test
Browse files Browse the repository at this point in the history
  • Loading branch information
jnurthen committed Aug 3, 2023
1 parent 4a88a5b commit df1aa01
Showing 1 changed file with 57 additions and 0 deletions.
57 changes: 57 additions & 0 deletions validator-tests/braillelabel-prohibited.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
<!DOCTYPE html>
<html lang="en-US">
<head><title>BrailleLabel Prohibited</title></head>
<body>

<!--
URL: https://www.w3.org/TR/wai-aria-1.3/#aria-braillelabel
RULE: "Authors MUST NOT specify aria-braillelabel on an element which has an explicit or implicit WAI-ARIA role where aria-braillelabel is prohibited."
-->

<!-- aria-label -->
<div id="aria-label-1" role="code" aria-braillelabel="foo">bar</div>
<code id="aria-label-2" aria-label="foo">bar</code>

<div id="aria-label-3" role="deletion" aria-braillelabel="foo">bar</div>
<del id="aria-label-4" aria-label="foo">bar</del>

<div id="aria-label-5" role="emphasis" aria-braillelabel="foo">bar</div>
<em id="aria-label-6" aria-label="foo">bar</em>

<div id="aria-label-7" role="generic" aria-braillelabel="foo">bar</div>
<div id="aria-label-8" aria-label="foo">bar</div>

<div id="aria-label-9" role="insertion" aria-braillelabel="foo">bar</div>
<ins id="aria-label-10" aria-label="foo">bar</ins>

<div id="aria-label-11" role="paragraph" aria-braillelabel="foo">bar</div>
<p id="aria-label-12" aria-label="foo">bar</p>

<div id="aria-label-13" role="presentation" aria-braillelabel="foo">bar</div>
<div id="aria-label-14" role="none" aria-label="foo">bar</div>

<div id="aria-label-15" role="strong" aria-braillelabel="foo">bar</div>
<strong id="aria-label-16" aria-label="foo">bar</strong>

<div id="aria-label-17" role="subscript" aria-braillelabel="foo">bar</div>
<sub id="aria-label-18" aria-label="foo">bar</sub>

<div id="aria-label-19" role="superscript" aria-braillelabel="foo">bar</div>
<sup id="aria-label-20" aria-label="foo">bar</sup>

<div role="table">
<div id="aria-label-21" role="caption" aria-braillelabel="foo">bar</div>
<div role="row">
<div role="cell">baz</div>
</div>
</div>
<table>
<caption id="aria-label-22" aria-braillelabel="foo">bar</caption>
<tr>
<td>baz</td>
</tr>
</table>

</body>
</html>

0 comments on commit df1aa01

Please sign in to comment.