roles.html (1670B)
1 <!doctype html> 2 <html> 3 <head> 4 <title>Simple DPUB-AAM Role Verification Tests</title> 5 <script src="/resources/testharness.js"></script> 6 <script src="/resources/testharnessreport.js"></script> 7 <script src="/resources/testdriver.js"></script> 8 <script src="/resources/testdriver-vendor.js"></script> 9 <script src="/resources/testdriver-actions.js"></script> 10 <script src="/wai-aria/scripts/aria-utils.js"></script> 11 </head> 12 <body> 13 14 <p>DPUB-AAM changed expectations for role description and other details since the initial v1.0 implementations, many of which are not yet testable via WPT, but this tests the new <a href="https://w3c.github.io/dpub-aam/#mapping_role_table">DPUB `computedrole` mapping</a> expectations. Additional rationale in <a href="https://github.com/w3c/aria/issues/1887">ARIA #1887</a>.</p> 15 16 <script> 17 18 AriaUtils.assignAndVerifyRolesByRoleNames([ 19 "doc-abstract", 20 "doc-acknowledgments", 21 "doc-afterword", 22 "doc-appendix", 23 "doc-backlink", 24 // "doc-biblioentry", // deprecated 25 "doc-bibliography", 26 "doc-biblioref", 27 "doc-chapter", 28 "doc-colophon", 29 "doc-conclusion", 30 "doc-cover", 31 "doc-credit", 32 "doc-credits", 33 "doc-dedication", 34 // "doc-endnote", // deprecated 35 "doc-endnotes", 36 "doc-epigraph", 37 "doc-epilogue", 38 "doc-errata", 39 "doc-example", 40 "doc-footnote", 41 "doc-foreword", 42 "doc-glossary", 43 "doc-glossref", 44 "doc-index", 45 "doc-introduction", 46 "doc-noteref", 47 "doc-notice", 48 "doc-pagebreak", 49 "doc-pagelist", 50 "doc-pagefooter", 51 "doc-pageheader", 52 "doc-part", 53 "doc-preface", 54 "doc-prologue", 55 "doc-pullquote", 56 "doc-qna", 57 "doc-subtitle", 58 "doc-tip", 59 "doc-toc" 60 ]); 61 62 </script> 63 </body> 64 </html>