Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<html>
<!--
-->
<head>
<title>File Input Control tests</title>
<link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css" />
<script type="application/javascript"
src="../common.js"></script>
<script type="application/javascript"
src="../role.js"></script>
<script type="application/javascript">
function doTest() {
var accTree = {
role: ROLE_PUSHBUTTON,
children: [
{ role: ROLE_TEXT_LEAF },
{ role: ROLE_TEXT_LEAF },
],
};
testAccessibleTree("filectrl", accTree);
SimpleTest.finish();
}
SimpleTest.waitForExplicitFinish();
addA11yLoadEvent(doTest);
</script>
</head>
<body>
<a target="_blank"
title="Expose HTML5 video and audio elements' embedded controls through accessibility APIs"
<p id="display"></p>
<div id="content" style="display: none"></div>
<pre id="test">
</pre>
<input type="file" id="filectrl" />
</body>
</html>