4 <title>Name from content of labelledby elements one of which is hidden
</title>
5 <meta content=
"text/html; charset=utf-8" http-equiv=
"Content-Type"/>
6 <link rel=
"stylesheet" href=
"/wai-aria/scripts/manual.css">
7 <script src=
"/resources/testharness.js"></script>
8 <script src=
"/resources/testharnessreport.js"></script>
9 <script src=
"/wai-aria/scripts/ATTAcomm.js"></script>
11 setup({explicit_timeout
: true, explicit_done
: true });
13 var theTest
= new ATTAcomm(
56 "title" : "Name from content of labelledby elements one of which is hidden"
63 <p>This test examines the ARIA properties for Name from content of labelledby elements one of which is hidden.
</p>
65 .hidden { display: none; }
68 <input id=
"test" type=
"text" aria-labelledby=
"lbl1 lbl2" aria-describedby=
"descId" />
70 <span aria-hidden=
"true" id=
"lbl1">Important
</span>
72 <span aria-hidden=
"true" id=
"lbl2">stuff
</span>
78 <span aria-hidden=
"true"><i> Hello,
</i></span>
79 <span>My
</span> name is
80 <div><img src=
"file.jpg" title=
"Bryan" alt=
"" role=
"presentation" /></div>
81 <span role=
"presentation" aria-label=
"Eli">
82 <span aria-label=
"Garaventa">Zambino
</span>
84 <span>the weird.
</span>
86 <span class=
"hidden"><i><b>and don't you forget it.
</b></i></span>
90 <td style=
"visibility:hidden;"><div>in
</div></td>
91 <td><div style=
"display:none;">the world
</div></td>
92 <td>are my marbles?
</td>
98 <div id=
"manualMode"></div>
100 <div id=
"ATTAmessages"></div>