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

Side by Side Diff: LayoutTests/accessibility/inert-node-is-disabled.html

Issue 51743003: Treat inert nodes as aria-hidden instead of aria-disabled. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: review comments Created 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/accessibility/inert-node-is-disabled-expected.txt » ('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 PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <script src="../fast/js/resources/js-test-pre.js"></script>
5 </head>
6 <body id="body">
7 <input id="input" type="text">
8 <p id="description"></p>
9 <div id="console"></div>
10 <dialog></dialog>
11
12 <script>
13 description("This tests that inert elements are not enabled.");
14
15 if (window.accessibilityController) {
16 textField = accessibilityController.accessibleElementById('input');
17 shouldBe("textField.isEnabled", "true");
18
19 document.querySelector('dialog').showModal();
20 shouldBe("textField.isEnabled", "false");
21 }
22 </script>
23
24 <script src="../fast/js/resources/js-test-post.js"></script>
25 </body>
26 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/accessibility/inert-node-is-disabled-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698