diff options
author | Moonchild <moonchild@palemoon.org> | 2020-05-11 23:17:47 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-05-20 13:49:55 +0000 |
commit | d050188cd525b769d33e2a2d94454b32aaa0b622 (patch) | |
tree | 3b465a50e36d8ba482e72540e67e738b04585573 /accessible/tests | |
parent | 3a1bebfb87d994b810574fdfeba09683e80cd2c9 (diff) | |
download | UXP-d050188cd525b769d33e2a2d94454b32aaa0b622.tar UXP-d050188cd525b769d33e2a2d94454b32aaa0b622.tar.gz UXP-d050188cd525b769d33e2a2d94454b32aaa0b622.tar.lz UXP-d050188cd525b769d33e2a2d94454b32aaa0b622.tar.xz UXP-d050188cd525b769d33e2a2d94454b32aaa0b622.zip |
Issue #1543 - Align <img> with no src to the updated spec.
Diffstat (limited to 'accessible/tests')
-rw-r--r-- | accessible/tests/mochitest/jsat/test_traversal.html | 4 | ||||
-rw-r--r-- | accessible/tests/mochitest/tree/test_invalid_img.xhtml | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/accessible/tests/mochitest/jsat/test_traversal.html b/accessible/tests/mochitest/jsat/test_traversal.html index 533e9d89f..e2c4ff418 100644 --- a/accessible/tests/mochitest/jsat/test_traversal.html +++ b/accessible/tests/mochitest/jsat/test_traversal.html @@ -83,7 +83,7 @@ 'listitem-2-3']); queueTraversalSequence(gQueue, docAcc, TraversalRules.Graphic, null, - ['image-2', 'image-3']); + ['image-1', 'image-2', 'image-3']); queueTraversalSequence(gQueue, docAcc, TraversalRules.Link, null, ['link-0', 'link-1', 'link-2', 'link-3']); @@ -117,7 +117,7 @@ '1. Scheme', '2. Racket', '3. Clojure', '4. Standard Lisp', 'link-0', ' Lisp', 'checkbox-1-5', ' LeLisp', '• JavaScript', - 'heading-5', 'image-2', 'image-3', + 'heading-5', 'image-1', 'image-2', 'image-3', 'Not actually an image', 'link-1', 'anchor-1', 'link-2', 'anchor-2', 'link-3', '3', '1', '4', '1', 'Sunday', 'M', 'Week 1', '3', '4', '7', '2', diff --git a/accessible/tests/mochitest/tree/test_invalid_img.xhtml b/accessible/tests/mochitest/tree/test_invalid_img.xhtml index 2079c86ee..f7c29fb8f 100644 --- a/accessible/tests/mochitest/tree/test_invalid_img.xhtml +++ b/accessible/tests/mochitest/tree/test_invalid_img.xhtml @@ -20,8 +20,8 @@ document.getElementsByTagName("img")[0].firstChild.data = "2"; var accTree = { - role: ROLE_TEXT, - children: [ { role: ROLE_TEXT_LEAF } ] + role: ROLE_GRAPHIC, + children: [] }; testAccessibleTree("the_img", accTree); SimpleTest.finish(); |