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

Side by Side Diff: third_party/WebKit/LayoutTests/accessibility/name-calc-aria-owns.html

Issue 1477043003: Handle aria-owns and presentational children in AX name calc. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@garaventa_visibility_hidden
Patch Set: Rebase Created 5 years 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 | third_party/WebKit/LayoutTests/accessibility/name-calc-presentational.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE HTML>
2 <script src="../resources/testharness.js"></script>
3 <script src="../resources/testharnessreport.js"></script>
4
5 <style>
6 .hideAllContainers .container {
7 display: none;
8 }
9 </style>
10
11 <div class="container">
12 <input id="input1" aria-labelledby="list1">
13 <ul id="list1" aria-owns="list1_item3">
14 <li>A
15 <li>B
16 </ul>
17 <div role="listitem" id="list1_item3">C</div>
18 </div>
19
20 <script>
21 test(function(t) {
22 var axInput1 = accessibilityController.accessibleElementById("input1");
23 assert_equals(axInput1.name, "A B C");
24 }, "Aria-owns is considered in a name computation");
25 </script>
26
27 <script>
28 if (window.testRunner)
29 document.body.className = "hideAllContainers";
30 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/accessibility/name-calc-presentational.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698