1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
content / test / data / accessibility / aria / aria-button.html [blame]
<!--
@MAC-ALLOW:AXRoleDescription
@WIN-ALLOW:checkable*
@WIN-ALLOW:HASPOPUP
@WIN-ALLOW:haspopup*
@WIN-ALLOW:ia2_hypertext=*
@WIN-ALLOW:PRESSED
@WIN-ALLOW:xml-roles:*
@UIA-WIN-ALLOW:Value.IsReadOnly*
@AURALINUX-ALLOW:haspopup*
@AURALINUX-ALLOW:pressed
@AURALINUX-ALLOW:xml-roles:*
@BLINK-ALLOW:haspopup*
-->
<!DOCTYPE html>
<html>
<body>
<div tabindex=0 role="button">Button1</div>
<div tabindex=1 role="button" aria-pressed="true">Button2</div>
<div tabindex=2 role="button" aria-pressed="false">Button3</div>
<div tabindex=3 role="button" aria-haspopup="true">Button4</div>
<div tabindex=4 role="button" aria-haspopup="false">Button5</div>
<div tabindex=5 role="button">Complex button <input></div>
<div tabindex=6 role="button" aria-pressed="true">Complex toggle button <input></div>
<div tabindex=7 role="button" aria-haspopup="true">Complex pop up button <input></div>
<div role="button" aria-haspopup="true">Example haspopup</div>
<div role="button" aria-haspopup="menu">Example haspopup</div>
<div role="button" aria-haspopup="listbox">Example haspopup</div>
<div role="button" aria-haspopup="tree">Example haspopup</div>
<div role="button" aria-haspopup="grid">Example haspopup</div>
<div role="button" aria-haspopup="dialog">Example haspopup</div>
<div role="button" aria-haspopup="false">Example haspopup</div>
<div role="button" aria-haspopup="bad_input">Example haspopup</div>
</body>
</html>