AT-SPI ONLY: Special case where option is within a listbox that is part of a comobox. If the listbox is exposed as ROLE_MENU, then the option is exposed as ROLE_MENU_ITEM.
authorJoseph Scheuhammer <clown@alum.mit.edu>
Wed, 19 Jun 2013 15:02:36 -0400
changeset 248 11afc112c763
parent 247 626cf80286c9
child 249 0beb5b211124
AT-SPI ONLY: Special case where option is within a listbox that is part of a comobox. If the listbox is exposed as ROLE_MENU, then the option is exposed as ROLE_MENU_ITEM.
ARIA/1.0/tests/test-files/_/780.htm
--- a/ARIA/1.0/tests/test-files/_/780.htm	Thu Jun 13 14:11:40 2013 -0500
+++ b/ARIA/1.0/tests/test-files/_/780.htm	Wed Jun 19 15:02:36 2013 -0400
@@ -1,5 +1,20 @@
-<ul role="listbox">
-	<li role="option" tabindex="0" id="test" aria-selected="true">Test Content</li>
-	<li role="option" tabindex="0">obj1</li>
-	<li role="option" tabindex="0">obj2</li>
-</ul>
+<!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>AT-SPI ONLY:  option within listbox exposed as ROLE_MENU:  option is exposed as ROLE_MENU_ITEM</title>
+      </title>
+   </head>
+   <body>
+      <h1>AT-SPI ONLY:  option within listbox exposed as ROLE_MENU:  option is exposed as ROLE_MENU_ITEM</h1>
+      <div role="combobox" aria-expanded="true" aria-label="Combobox for AT-SPI test of listbox/option mappings">
+        <input type="text" value="combobox entry field">
+        <div role="listbox" aria-label="Listbox child of combobox for AT-SPI test of listbox/option mappings">
+          <p role="option" id="test">Test option</p>
+          <p role="option">Another option</p>
+          <p role="option">A third option</p>
+        </div>
+      </div>
+   </body>
+</html>