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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-aria-1.1.html

Issue 2946673003: Aria-details takes an ID reference, not an ID reference list (Closed)
Patch Set: Rebase Created 3 years, 6 months 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
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script type="text/javascript" src="../../http/tests/inspector-protocol/dom-prot ocol-test.js"></script> 3 <script type="text/javascript" src="../../http/tests/inspector-protocol/dom-prot ocol-test.js"></script>
4 <script type="text/javascript" src="../../http/tests/inspector-protocol/inspecto r-protocol-test.js"></script> 4 <script type="text/javascript" src="../../http/tests/inspector-protocol/inspecto r-protocol-test.js"></script>
5 <script type="text/javascript" src="./accessibility-dumpAccessibilityNodes.js">< /script> 5 <script type="text/javascript" src="./accessibility-dumpAccessibilityNodes.js">< /script>
6 <script> 6 <script>
7 7
8 function test() 8 function test()
9 { 9 {
10 InspectorTest.sendCommand("DOM.getDocument", {}, (msg) => { 10 InspectorTest.sendCommand("DOM.getDocument", {}, (msg) => {
11 InspectorTest.dumpAccessibilityNodesBySelectorAndCompleteTest("[data-dum p]", false, msg); 11 InspectorTest.dumpAccessibilityNodesBySelectorAndCompleteTest("[data-dum p]", false, msg);
12 }); 12 });
13 } 13 }
14 14
15 </script> 15 </script>
16 </head> 16 </head>
17 <body onLoad="runTest();"> 17 <body onLoad="runTest();">
18 <input data-dump aria-errormessage="err"> 18 <input data-dump aria-errormessage="err">
19 <h3 id="err">This text field has an error!</h3> 19 <h3 id="err">This text field has an error!</h3>
20 20
21 <img data-dump aria-details="d1 d2" aria-label="Label"> 21 <img data-dump aria-details="d" aria-label="Label">
22 <div id="d1">Details 1</div> 22 <div id="d">Details</div>
23 <div id="d2">Details 2</div>
24 23
25 <button data-dump aria-keyshortcuts="Ctrl+A">Select All</button> 24 <button data-dump aria-keyshortcuts="Ctrl+A">Select All</button>
26 25
27 <input data-dump type="checkbox" aria-roledescription="Lightswitch" checked> 26 <input data-dump type="checkbox" aria-roledescription="Lightswitch" checked>
28 27
29 </body> 28 </body>
30 </html> 29 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698