summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/conformance-checkers/html-aria/stability-of-dom
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/html-aria/stability-of-dom')
-rw-r--r--testing/web-platform/tests/conformance-checkers/html-aria/stability-of-dom/669.html33
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html-aria/stability-of-dom/669.html b/testing/web-platform/tests/conformance-checkers/html-aria/stability-of-dom/669.html
new file mode 100644
index 0000000000..2f2e64fb69
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/html-aria/stability-of-dom/669.html
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>ARIA 1.0 Test Case 669</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ </head>
+ <body>
+ <h1>ARIA 1.0 Test Case 669</h1>
+
+ <ul role="listbox" id="ID_LISTBOX" tabindex="0" aria-activedescendant="ID_OPTION_1">
+ <li id="ID_OPTION_1" role="option">Option 1</li>
+ <li id="ID_OPTION_2" role="option">Option 2</li>
+ </ul>
+
+ <h2>Description</h2>
+ <p>An element with role "listbox" with two descendants having role "option"
+ and aria-activedescendant set to the id of the first option for which an
+ assistive technology or API test tool requests to move focus to option 2.</p>
+
+ <script>
+
+ function setFocus() {
+ var node = document.getElementById('ID_LISTBOX');
+ node.focus();
+ }
+
+ window.addEventListener('load', setFocus);
+ </script>
+ </body>
+
+</html>
+
+