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

Side by Side Diff: LayoutTests/accessibility/element-role-mapping-normal.html

Issue 1012383002: Removes direct checking node on AXLayoutObject::determineAccessibilityRole. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add Test Cases Created 5 years, 8 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
(Empty)
1 <html>
2 <script src="../resources/js-test.js"></script>
3 <script src="../resources/accessibility-helper.js"></script>
4 <header>This is a Header for this page</header>
5 <h1>Heading</h1>
6 <div>Division</div>
7 <p>Paragraph</p>
8 <ruby>
9 韓國<rp>(</rp><rt>한국</rt><rp>)</rp>
10 </ruby>
11 <dl>
12 <dt>Coffee</dt>
13 <dd>- black hot drink</dd>
14 <dt>Milk</dt>
15 <dd>- white cold drink</dd>
16 </dl>
17 <math xmlns="http://www.w3.org/1998/Math/MathML">
18 <mrow>
19 <mi> x </mi>
20 <mo> + </mo>
21 <mrow>
22 <mi> a </mi>
23 <mo> / </mo>
24 <mi> b </mi>
25 </mrow>
26 </mrow>
27 </math>
28 <main>
29 <article>
30 <header>
31 <h1>Most important heading here</h1>
32 </header>
33 <h1>Google Chrome</h1>
34 <p>Google Chrome is a free, open-source web browser developed by Google,
35 released in 2008.</p>
36 <footer>
37 <p>Footer in article</p>
38 </footer>
39 </article>
40 </main>>
dmazzoni 2015/03/31 06:50:53 nit: extra > here
41 <nav>
42 <a href="/html/">HTML</a> |
43 <a href="/css/">CSS</a> |
44 <a href="/js/">JavaScript</a> |
45 </nav>
46 <aside>
47 <p>Text that appears under aside</p>
48 </aside>
49 <pre>
50 Text in a pre
51 element
52 </pre>
53 <section>
54 <header>
55 <h1>Most important heading here</h1>
56 </header>
57 <p>Section</p>
58 <footer>
59 <p>Footer in section</p>
60 </footer>
61 </section>
62 <address>
63 Written by Julie<br>
64 Visit us at:www.chromium.org<br>
65 </address>
66 <p>January <dialog open>This is an open dialog window</dialog></p>
67 <iframe src="about:blank"></iframe>
68 <iframe src="about:blank" role="presentation"></iframe>
69 <table>
70 <caption>Caption</caption>
71 <tr>
72 <td>Cell1</td>
73 <td>Cell2</td>
74 </tr>
75 </table>
76 <figure>
77 <img width="12" height="10" src="data:image/gif;base64,R0lGODdhDAAKAJEAAP///wA A/wAAAAAAACwAAAAADAAKAAACEoyPAMihnRY0bzo5a8ZQd94oBQA7" alt="blue">
78 <figcaption>Fig1. - Blue Box</figcaption>
79 </figure>
80 <embed src="xxx.mp3">
81 <footer>
82 <p>This is a footer.</p>
83 </footer>
84 <p>End of test</p>
85 <p id="description"></p>
86 <div id="console"></div>
87 <script>
88 description("This test make sure that unfocuasable elements are mapped implicitl y to AX roles.");
89
90 if (window.testRunner)
91 testRunner.dumpAsText();
92 if (window.accessibilityController) {
93 buildAccessibilityTree(accessibilityController.focusedElement, 0, 1);
94 }
95 </script>
96 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698