This is a paragraph inside the article.
-diff --git a/accessible/tests/mochitest/Makefile.in b/accessible/tests/mochitest/Makefile.in index a8d96148bf7..fe03765ba03 100644 --- a/accessible/tests/mochitest/Makefile.in +++ b/accessible/tests/mochitest/Makefile.in @@ -56,6 +56,7 @@ DIRS = \ name \ pivot \ relations \ + role \ selectable \ states \ table \ @@ -92,17 +93,12 @@ _TEST_FILES =\ states.js \ table.js \ value.js \ - test_aria_role_article.html \ - test_aria_role_equation.html \ - test_aria_roles.html \ - test_aria_roles.xul \ test_aria_token_attrs.html \ test_bug420863.html \ test_descr.html \ test_nsIAccessibleDocument.html \ test_nsIAccessibleImage.html \ test_OuterDocAccessible.html \ - test_role_nsHyperTextAcc.html \ test_textboxes.html \ test_textboxes.xul \ testTextboxes.js \ diff --git a/accessible/tests/mochitest/attributes/Makefile.in b/accessible/tests/mochitest/attributes/Makefile.in index b0aa25940e4..1dabb44601a 100644 --- a/accessible/tests/mochitest/attributes/Makefile.in +++ b/accessible/tests/mochitest/attributes/Makefile.in @@ -52,7 +52,9 @@ _TEST_FILES =\ test_obj_group.html \ test_obj_group.xul \ test_obj_group_tree.xul \ + test_tag.html \ test_text.html \ + test_xml-roles.html \ $(NULL) libs:: $(_TEST_FILES) diff --git a/accessible/tests/mochitest/elm/test_landmarks.html b/accessible/tests/mochitest/attributes/test_tag.html similarity index 76% rename from accessible/tests/mochitest/elm/test_landmarks.html rename to accessible/tests/mochitest/attributes/test_tag.html index 9138427b7a6..e43147b24d1 100644 --- a/accessible/tests/mochitest/elm/test_landmarks.html +++ b/accessible/tests/mochitest/attributes/test_tag.html @@ -19,24 +19,6 @@ function doTest() { - testRole("nav", ROLE_SECTION); - testRole("header", ROLE_HEADER); - testRole("footer", ROLE_FOOTER); - testRole("article", ROLE_DOCUMENT); - testRole("aside", ROLE_NOTE); - testRole("section", ROLE_SECTION); // XXX bug 739612: not a landmark - - testRole("main", ROLE_DOCUMENT); - testRole("form", ROLE_FORM); - - // Some AT may look for this - testAttrs("nav", {"xml-roles" : "navigation"}, true); - testAttrs("footer", {"xml-roles" : "contentinfo"}, true); - testAttrs("aside", {"xml-roles" : "complementary"}, true); - testAttrs("section", {"xml-roles" : "region"}, true); - testAttrs("main", {"xml-roles" : "main"}, true); // // ARIA override - testAttrs("form", {"xml-roles" : "form"}, true); - // And some AT may look for this testAttrs("nav", {"tag" : "nav"}, true); testAttrs("header", {"tag" : "header"}, true); diff --git a/accessible/tests/mochitest/attributes/test_xml-roles.html b/accessible/tests/mochitest/attributes/test_xml-roles.html new file mode 100644 index 00000000000..a94140bdcbf --- /dev/null +++ b/accessible/tests/mochitest/attributes/test_xml-roles.html @@ -0,0 +1,77 @@ + + +
+++ + + + +
--
This is a paragraph inside the article.
-