Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(460)

Side by Side Diff: LayoutTests/accessibility/aria-link-supports-press.html

Issue 697913002: Fix some minor typos related to the word "accessibility". (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | Source/core/accessibility/AXNodeObject.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <script> 2 <script>
3 if (window.testRunner) 3 if (window.testRunner)
4 testRunner.dumpAsText(); 4 testRunner.dumpAsText();
5 </script> 5 </script>
6 <body> 6 <body>
7 <div id="link" role="link" tabindex="0">Click</div> 7 <div id="link" role="link" tabindex="0">Click</div>
8 8
9 <br> 9 <br>
10 10
11 <span id="result">To run this test outside of DRT, use the Accssibility Inspecto r to inspect the link above, and make sure AXPressed is listed as a supported ac tion.</span> 11 <span id="result">To run this test outside of DRT, use the Accessibility Inspect or to inspect the link above, and make sure AXPressed is listed as a supported a ction.</span>
Mike West 2014/11/03 04:54:41 If this test has an -expected.txt result, you'll n
Sungmann Cho 2014/11/03 05:08:22 As you mentioned, there is a result text file of t
12 12
13 <script> 13 <script>
14 if (window.accessibilityController) { 14 if (window.accessibilityController) {
15 var link = document.getElementById("link"); 15 var link = document.getElementById("link");
16 var result = document.getElementById("result"); 16 var result = document.getElementById("result");
17 17
18 link.focus(); 18 link.focus();
19 var supportsAction = accessibilityController.focusedElement.isPressActio nSupported(); 19 var supportsAction = accessibilityController.focusedElement.isPressActio nSupported();
20 if (supportsAction) 20 if (supportsAction)
21 result.innerHTML = "SUCCESS! This test passes because the ARIA link above supports the press action."; 21 result.innerHTML = "SUCCESS! This test passes because the ARIA link above supports the press action.";
22 else 22 else
23 result.innerHTML = "FAIL! This test fails because the ARIA link abov e does NOT support the press action, but it should."; 23 result.innerHTML = "FAIL! This test fails because the ARIA link abov e does NOT support the press action, but it should.";
24 } 24 }
25 </script> 25 </script>
26 26
27 </body> 27 </body>
28 </html> 28 </html>
OLDNEW
« no previous file with comments | « no previous file | Source/core/accessibility/AXNodeObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698