Chromium Code Reviews| Index: LayoutTests/accessibility/element-role-mapping-normal.html |
| diff --git a/LayoutTests/accessibility/element-role-mapping-normal.html b/LayoutTests/accessibility/element-role-mapping-normal.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..72cd68b23d8859e41855b1c63eb681f93918859c |
| --- /dev/null |
| +++ b/LayoutTests/accessibility/element-role-mapping-normal.html |
| @@ -0,0 +1,96 @@ |
| +<html> |
| +<script src="../resources/js-test.js"></script> |
| +<script src="../resources/accessibility-helper.js"></script> |
| +<header>This is a Header for this page</header> |
| +<h1>Heading</h1> |
| +<div>Division</div> |
| +<p>Paragraph</p> |
| +<ruby> |
| +韓國<rp>(</rp><rt>한국</rt><rp>)</rp> |
| +</ruby> |
| +<dl> |
| + <dt>Coffee</dt> |
| + <dd>- black hot drink</dd> |
| + <dt>Milk</dt> |
| + <dd>- white cold drink</dd> |
| +</dl> |
| +<math xmlns="http://www.w3.org/1998/Math/MathML"> |
| + <mrow> |
| + <mi> x </mi> |
| + <mo> + </mo> |
| + <mrow> |
| + <mi> a </mi> |
| + <mo> / </mo> |
| + <mi> b </mi> |
| + </mrow> |
| + </mrow> |
| +</math> |
| +<main> |
| + <article> |
| + <header> |
| + <h1>Most important heading here</h1> |
| + </header> |
| + <h1>Google Chrome</h1> |
| + <p>Google Chrome is a free, open-source web browser developed by Google, |
| + released in 2008.</p> |
| + <footer> |
| + <p>Footer in article</p> |
| + </footer> |
| + </article> |
| +</main>> |
|
dmazzoni
2015/03/31 06:50:53
nit: extra > here
|
| +<nav> |
| + <a href="/html/">HTML</a> | |
| + <a href="/css/">CSS</a> | |
| + <a href="/js/">JavaScript</a> | |
| +</nav> |
| +<aside> |
| + <p>Text that appears under aside</p> |
| +</aside> |
| +<pre> |
| +Text in a pre |
| +element |
| +</pre> |
| +<section> |
| + <header> |
| + <h1>Most important heading here</h1> |
| + </header> |
| + <p>Section</p> |
| + <footer> |
| + <p>Footer in section</p> |
| + </footer> |
| +</section> |
| +<address> |
| +Written by Julie<br> |
| +Visit us at:www.chromium.org<br> |
| +</address> |
| +<p>January <dialog open>This is an open dialog window</dialog></p> |
| +<iframe src="about:blank"></iframe> |
| +<iframe src="about:blank" role="presentation"></iframe> |
| +<table> |
| + <caption>Caption</caption> |
| + <tr> |
| + <td>Cell1</td> |
| + <td>Cell2</td> |
| + </tr> |
| +</table> |
| +<figure> |
| + <img width="12" height="10" src="data:image/gif;base64,R0lGODdhDAAKAJEAAP///wAA/wAAAAAAACwAAAAADAAKAAACEoyPAMihnRY0bzo5a8ZQd94oBQA7" alt="blue"> |
| + <figcaption>Fig1. - Blue Box</figcaption> |
| +</figure> |
| +<embed src="xxx.mp3"> |
| +<footer> |
| + <p>This is a footer.</p> |
| +</footer> |
| +<p>End of test</p> |
| +<p id="description"></p> |
| +<div id="console"></div> |
| +<script> |
| +description("This test make sure that unfocuasable elements are mapped implicitly to AX roles."); |
| + |
| +if (window.testRunner) |
| + testRunner.dumpAsText(); |
| +if (window.accessibilityController) { |
| + buildAccessibilityTree(accessibilityController.focusedElement, 0, 1); |
| +} |
| +</script> |
| +</html> |