[Web GPU] GPURenderPassEncoder updates: setBlendColor, setViewport, setScissorRect
[WebKit-https.git] / LayoutTests / accessibility / aria-switch-text.html
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <script src="../resources/js-test-pre.js"></script>
5 </head>
6 <body id="body">
7 <div role="radiobuttongroup">
8         <div role="switch" id="switch1" aria-checked="true">One</div>
9         <div role="switch" id="switch2">Two</div>
10         <div role="switch" id="switch3" aria-label="foo">Three</div>
11 </div>
12
13 <p id="description"></p>
14 <div id="console"></div>
15
16 <script>
17
18     description("This tests that ARIA switches use accessible name computation and have no child text.");
19
20     if (window.accessibilityController) {
21         var widget = accessibilityController.accessibleElementById("switch1");
22         debug("widget.title is " + widget.title);
23         debug("widget.description is " + widget.description);
24         debug("widget.childrenCount is " + widget.childrenCount);
25
26         widget = accessibilityController.accessibleElementById("switch2");
27         debug("widget.title is " + widget.title);
28         debug("widget.description is " + widget.description);
29         debug("widget.childrenCount is " + widget.childrenCount);
30
31         widget = accessibilityController.accessibleElementById("switch3");
32         debug("widget.title is " + widget.title);
33         debug("widget.description is " + widget.description);
34         debug("widget.childrenCount is " + widget.childrenCount);
35     }
36
37 </script>
38
39 <script src="../resources/js-test-post.js"></script>
40 </body>
41 </html>