diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
commit | 43a97878ce14b72f0981164f87f2e35e14151312 (patch) | |
tree | 620249daf56c0258faa40cbdcf9cfba06de2a846 /testing/web-platform/tests/conformance-checkers/html-aria/stability-of-dom | |
parent | Initial commit. (diff) | |
download | firefox-upstream.tar.xz firefox-upstream.zip |
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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.html | 33 |
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> + + |