Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / accessibility / aria-help.html
blobc9465785baf5dcb414dfcc6ffd605ba182dda633
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <script src="../resources/js-test.js"></script>
5 </head>
6 <body id="body">
8 <div id="button" tabindex=0 role="button" aria-label="title" aria-help="click here">
9 button
10 </div>
12 <p id="description"></p>
13 <div id="console"></div>
15 <script>
17 description("This tests that aria-help attribute works as expected.");
19 if (window.accessibilityController) {
21 document.getElementById("button").focus();
22 var button = accessibilityController.focusedElement;
23 shouldBe("button.deprecatedHelpText", "'AXHelp: click here'");
26 </script>
28 </body>
29 </html>