You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<h1>ARIA in HTML - test case for <code>role=combobox</code> on <code>button</code></h1>
48
+
<p>last updated 15 January 2022</p>
49
+
</header>
50
+
<main>
51
+
<h2>Tests:</h2>
52
+
<p>Authors MAY use <code>role=combobox</code> on a <code>button</code> element, so long as other required attributes of the combobox role are also specified.</p>
53
+
54
+
<divclass="flex">
55
+
<divclass="widgetDemo">
56
+
<divclass="testcase">
57
+
<labelfor=b>name 1</label>
58
+
<buttonid=brole=combobox>test 1</button>
59
+
</div>
60
+
61
+
<p><strong>Expected result:</strong>
62
+
This test fails because the button element has a role=combobox, but no other required attributes (aria-controls and aria-expanded).</p>
0 commit comments