Test case 771: listbox with id 'test' owned by a combobox.
authorJoseph Scheuhammer <clown@alum.mit.edu>
Tue, 26 Mar 2013 15:50:50 -0400
changeset 149 b9a8abf6a900
parent 148 16e1cd7e1fb8
child 150 9aded3f7ca1f
Test case 771: listbox with id 'test' owned by a combobox.
Minor tweaks to make it more self-documenting.
ARIA/1.0/tests/test-files/roles-plain-concrete/roles-plain-concrete-listbox-parent-combobox.html
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ARIA/1.0/tests/test-files/roles-plain-concrete/roles-plain-concrete-listbox-parent-combobox.html	Tue Mar 26 15:50:50 2013 -0400
@@ -0,0 +1,39 @@
+<!DOCTYPE html
+  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+   <head>
+      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+      <title>An element with id=test and role=listbox, which is owned by a combobox</title>
+      <style type="text/css">
+          ul#test {
+            list-style-type: none;
+            width: 10em;
+            height: 5em;
+            border: 1px solid black;
+            margin-top: 0;
+            margin-left: 0.5em;
+          }
+          
+          ul#test > li {
+            margin-left: -1em;
+          }
+      </style>
+   </head>
+   <body>
+       <p>An element with <code>id=test</code> and <code>role=listbox</code>, which is owned by a <code>combobox</code>:</p>
+       <input type="text"
+          aria-label="Comobox that owns zebra-zoom listbox"
+          role="combobox"
+          aria-expanded="true"
+          aria-owns="test"
+          aria-autocomplete="none"
+          aria-activedescendant="selected_option">
+        <ul role="listbox" id="test">
+            <li role="option">listbox with id='test'</li>
+            <li role="option">Zebra</li>
+            <li role="option" id="selected_option">Zoom</li>
+        </ul>
+   </body>
+</html>
+
+