diff options
author | Moonchild <moonchild@palemoon.org> | 2020-05-11 23:17:47 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-05-11 23:17:47 +0000 |
commit | 0f590122c5474b0b6fb66dccab0cc24f38d63bc4 (patch) | |
tree | b40d7888b732fa4f8941e0fc0d8eff0e439b984e /accessible | |
parent | 221627575b56e8bb85e8329400da99138f2f67c1 (diff) | |
download | UXP-0f590122c5474b0b6fb66dccab0cc24f38d63bc4.tar UXP-0f590122c5474b0b6fb66dccab0cc24f38d63bc4.tar.gz UXP-0f590122c5474b0b6fb66dccab0cc24f38d63bc4.tar.lz UXP-0f590122c5474b0b6fb66dccab0cc24f38d63bc4.tar.xz UXP-0f590122c5474b0b6fb66dccab0cc24f38d63bc4.zip |
Issue #1543 - Align <img> with no src to the updated spec.
Diffstat (limited to 'accessible')
-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(); |