Html程序  |  18行  |  474 B

<!doctype html>
<!--
@WIN-DENY:name*
@WIN-ALLOW:PRESSED
@WIN-ALLOW:MIXED
@WIN-ALLOW:checkable:true
@MAC-ALLOW:AXSubrole=*
@MAC-ALLOW:AXRoleDescription=*
-->
<html>
<body>
<div tabindex=0 role="button">Regular button</div>
<div tabindex=0 role="button" aria-pressed="false">Toggle button unpressed</div>
<div tabindex=0 role="button" aria-pressed="true">Toggle button pressed</div>
<div tabindex=0 role="button" aria-pressed="mixed">Toggle button mixed</div>
</body>
</html>