@readium/guided-navigation 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +28 -0
- package/README.md +157 -0
- package/dist/a11y.js +1 -0
- package/dist/converter.js +1 -0
- package/dist/dom.js +1 -0
- package/dist/domRangeGenerator.js +1 -0
- package/dist/elementHandlers.js +1 -0
- package/dist/idAllocator.js +1 -0
- package/dist/index.js +1 -0
- package/dist/makeGnd.js +1 -0
- package/dist/object.js +1 -0
- package/dist/options.js +1 -0
- package/dist/prescan.js +1 -0
- package/dist/roles.js +1 -0
- package/dist/selectorGenerator.js +1 -0
- package/dist/text.js +1 -0
- package/dist/textFragmentGenerator.js +1 -0
- package/dist/textrefFragment.js +1 -0
- package/fixtures/README.md +185 -0
- package/fixtures/ROLES_COVERAGE.md +80 -0
- package/fixtures/abstract-epub-type/gnd.json +15 -0
- package/fixtures/abstract-epub-type/input.xhtml +11 -0
- package/fixtures/abstract-epub-type/meta.json +10 -0
- package/fixtures/abstract-role-aria/gnd.json +8 -0
- package/fixtures/abstract-role-aria/input.html +1 -0
- package/fixtures/abstract-role-aria/meta.json +10 -0
- package/fixtures/acknowledgments-epub-type/gnd.json +15 -0
- package/fixtures/acknowledgments-epub-type/input.xhtml +11 -0
- package/fixtures/acknowledgments-epub-type/meta.json +10 -0
- package/fixtures/acknowledgments-role-aria/gnd.json +8 -0
- package/fixtures/acknowledgments-role-aria/input.html +1 -0
- package/fixtures/acknowledgments-role-aria/meta.json +10 -0
- package/fixtures/afterword-epub-type/gnd.json +15 -0
- package/fixtures/afterword-epub-type/input.xhtml +11 -0
- package/fixtures/afterword-epub-type/meta.json +10 -0
- package/fixtures/afterword-role-aria/gnd.json +8 -0
- package/fixtures/afterword-role-aria/input.html +1 -0
- package/fixtures/afterword-role-aria/meta.json +10 -0
- package/fixtures/appendix-epub-type/gnd.json +16 -0
- package/fixtures/appendix-epub-type/input.xhtml +11 -0
- package/fixtures/appendix-epub-type/meta.json +10 -0
- package/fixtures/appendix-role-aria/gnd.json +8 -0
- package/fixtures/appendix-role-aria/input.html +1 -0
- package/fixtures/appendix-role-aria/meta.json +10 -0
- package/fixtures/article-html-native/gnd.json +8 -0
- package/fixtures/article-html-native/input.html +1 -0
- package/fixtures/article-html-native/meta.json +10 -0
- package/fixtures/article-role-aria/gnd.json +8 -0
- package/fixtures/article-role-aria/input.html +1 -0
- package/fixtures/article-role-aria/meta.json +10 -0
- package/fixtures/aside-epub-type/gnd.json +15 -0
- package/fixtures/aside-epub-type/input.xhtml +11 -0
- package/fixtures/aside-epub-type/meta.json +10 -0
- package/fixtures/aside-html-native/gnd.json +8 -0
- package/fixtures/aside-html-native/input.html +1 -0
- package/fixtures/aside-html-native/meta.json +10 -0
- package/fixtures/audio-html-native/gnd.json +11 -0
- package/fixtures/audio-html-native/input.html +1 -0
- package/fixtures/audio-html-native/meta.json +10 -0
- package/fixtures/audio-no-description/gnd.json +6 -0
- package/fixtures/audio-no-description/input.html +1 -0
- package/fixtures/audio-no-description/meta.json +10 -0
- package/fixtures/backlink-epub-type/gnd.json +16 -0
- package/fixtures/backlink-epub-type/input.xhtml +11 -0
- package/fixtures/backlink-epub-type/meta.json +10 -0
- package/fixtures/backlink-role-aria/gnd.json +9 -0
- package/fixtures/backlink-role-aria/input.html +1 -0
- package/fixtures/backlink-role-aria/meta.json +10 -0
- package/fixtures/bibliography-epub-type/gnd.json +38 -0
- package/fixtures/bibliography-epub-type/input.xhtml +16 -0
- package/fixtures/bibliography-epub-type/meta.json +12 -0
- package/fixtures/bibliography-role-aria/gnd.json +30 -0
- package/fixtures/bibliography-role-aria/input.html +6 -0
- package/fixtures/bibliography-role-aria/meta.json +12 -0
- package/fixtures/biblioref-epub-type/gnd.json +16 -0
- package/fixtures/biblioref-epub-type/input.xhtml +11 -0
- package/fixtures/biblioref-epub-type/meta.json +10 -0
- package/fixtures/biblioref-role-aria/gnd.json +9 -0
- package/fixtures/biblioref-role-aria/input.html +1 -0
- package/fixtures/biblioref-role-aria/meta.json +10 -0
- package/fixtures/blockquote-html-native/gnd.json +8 -0
- package/fixtures/blockquote-html-native/input.html +1 -0
- package/fixtures/blockquote-html-native/meta.json +10 -0
- package/fixtures/blockquote-role-aria/gnd.json +8 -0
- package/fixtures/blockquote-role-aria/input.html +1 -0
- package/fixtures/blockquote-role-aria/meta.json +10 -0
- package/fixtures/body-html-native/gnd.json +8 -0
- package/fixtures/body-html-native/input.html +1 -0
- package/fixtures/body-html-native/meta.json +10 -0
- package/fixtures/chapter-epub-type/gnd.json +23 -0
- package/fixtures/chapter-epub-type/input.xhtml +13 -0
- package/fixtures/chapter-epub-type/meta.json +11 -0
- package/fixtures/chapter-role-aria/gnd.json +16 -0
- package/fixtures/chapter-role-aria/input.html +3 -0
- package/fixtures/chapter-role-aria/meta.json +11 -0
- package/fixtures/colophon-epub-type/gnd.json +15 -0
- package/fixtures/colophon-epub-type/input.xhtml +11 -0
- package/fixtures/colophon-epub-type/meta.json +10 -0
- package/fixtures/colophon-role-aria/gnd.json +8 -0
- package/fixtures/colophon-role-aria/input.html +1 -0
- package/fixtures/colophon-role-aria/meta.json +10 -0
- package/fixtures/complementary-role-aria/gnd.json +8 -0
- package/fixtures/complementary-role-aria/input.html +1 -0
- package/fixtures/complementary-role-aria/meta.json +10 -0
- package/fixtures/conclusion-epub-type/gnd.json +15 -0
- package/fixtures/conclusion-epub-type/input.xhtml +11 -0
- package/fixtures/conclusion-epub-type/meta.json +10 -0
- package/fixtures/conclusion-role-aria/gnd.json +8 -0
- package/fixtures/conclusion-role-aria/input.html +1 -0
- package/fixtures/conclusion-role-aria/meta.json +10 -0
- package/fixtures/cover-epub-type/gnd.json +26 -0
- package/fixtures/cover-epub-type/input.xhtml +13 -0
- package/fixtures/cover-epub-type/meta.json +10 -0
- package/fixtures/cover-role-aria/gnd.json +12 -0
- package/fixtures/cover-role-aria/input.html +1 -0
- package/fixtures/cover-role-aria/meta.json +10 -0
- package/fixtures/credit-epub-type/gnd.json +22 -0
- package/fixtures/credit-epub-type/input.xhtml +11 -0
- package/fixtures/credit-epub-type/meta.json +10 -0
- package/fixtures/credit-role-aria/gnd.json +8 -0
- package/fixtures/credit-role-aria/input.html +1 -0
- package/fixtures/credit-role-aria/meta.json +10 -0
- package/fixtures/credits-epub-type/gnd.json +51 -0
- package/fixtures/credits-epub-type/input.xhtml +16 -0
- package/fixtures/credits-epub-type/meta.json +13 -0
- package/fixtures/credits-role-aria/gnd.json +32 -0
- package/fixtures/credits-role-aria/input.html +6 -0
- package/fixtures/credits-role-aria/meta.json +13 -0
- package/fixtures/dedication-epub-type/gnd.json +15 -0
- package/fixtures/dedication-epub-type/input.xhtml +11 -0
- package/fixtures/dedication-epub-type/meta.json +10 -0
- package/fixtures/dedication-role-aria/gnd.json +8 -0
- package/fixtures/dedication-role-aria/input.html +1 -0
- package/fixtures/dedication-role-aria/meta.json +10 -0
- package/fixtures/definition-epub-type/gnd.json +22 -0
- package/fixtures/definition-epub-type/input.xhtml +13 -0
- package/fixtures/definition-epub-type/meta.json +11 -0
- package/fixtures/definition-html-native/gnd.json +8 -0
- package/fixtures/definition-html-native/input.html +3 -0
- package/fixtures/definition-html-native/meta.json +10 -0
- package/fixtures/definition-role-aria/gnd.json +8 -0
- package/fixtures/definition-role-aria/input.html +1 -0
- package/fixtures/definition-role-aria/meta.json +10 -0
- package/fixtures/details-html-native/gnd.json +8 -0
- package/fixtures/details-html-native/input.html +1 -0
- package/fixtures/details-html-native/meta.json +10 -0
- package/fixtures/details-summary-html-native/gnd.json +20 -0
- package/fixtures/details-summary-html-native/input.html +4 -0
- package/fixtures/details-summary-html-native/meta.json +11 -0
- package/fixtures/endnotes-epub-type/gnd.json +56 -0
- package/fixtures/endnotes-epub-type/input.xhtml +16 -0
- package/fixtures/endnotes-epub-type/meta.json +13 -0
- package/fixtures/endnotes-role-aria/gnd.json +34 -0
- package/fixtures/endnotes-role-aria/input.html +6 -0
- package/fixtures/endnotes-role-aria/meta.json +13 -0
- package/fixtures/epigraph-epub-type/gnd.json +15 -0
- package/fixtures/epigraph-epub-type/input.xhtml +11 -0
- package/fixtures/epigraph-epub-type/meta.json +10 -0
- package/fixtures/epigraph-role-aria/gnd.json +8 -0
- package/fixtures/epigraph-role-aria/input.html +1 -0
- package/fixtures/epigraph-role-aria/meta.json +10 -0
- package/fixtures/epilogue-epub-type/gnd.json +15 -0
- package/fixtures/epilogue-epub-type/input.xhtml +11 -0
- package/fixtures/epilogue-epub-type/meta.json +10 -0
- package/fixtures/epilogue-role-aria/gnd.json +8 -0
- package/fixtures/epilogue-role-aria/input.html +1 -0
- package/fixtures/epilogue-role-aria/meta.json +10 -0
- package/fixtures/errata-epub-type/gnd.json +15 -0
- package/fixtures/errata-epub-type/input.xhtml +11 -0
- package/fixtures/errata-epub-type/meta.json +10 -0
- package/fixtures/errata-role-aria/gnd.json +8 -0
- package/fixtures/errata-role-aria/input.html +1 -0
- package/fixtures/errata-role-aria/meta.json +10 -0
- package/fixtures/example-epub-type/gnd.json +30 -0
- package/fixtures/example-epub-type/input.xhtml +15 -0
- package/fixtures/example-epub-type/meta.json +10 -0
- package/fixtures/example-role-aria/gnd.json +8 -0
- package/fixtures/example-role-aria/input.html +1 -0
- package/fixtures/example-role-aria/meta.json +10 -0
- package/fixtures/figure-basic-html-native/gnd.json +18 -0
- package/fixtures/figure-basic-html-native/input.html +3 -0
- package/fixtures/figure-basic-html-native/meta.json +10 -0
- package/fixtures/figure-basic-role-aria/gnd.json +18 -0
- package/fixtures/figure-basic-role-aria/input.html +3 -0
- package/fixtures/figure-basic-role-aria/meta.json +10 -0
- package/fixtures/figure-caption-element-html-native/gnd.json +11 -0
- package/fixtures/figure-caption-element-html-native/input.html +11 -0
- package/fixtures/figure-caption-element-html-native/meta.json +11 -0
- package/fixtures/figure-caption-element-role-aria/gnd.json +11 -0
- package/fixtures/figure-caption-element-role-aria/input.html +11 -0
- package/fixtures/figure-caption-element-role-aria/meta.json +11 -0
- package/fixtures/figure-caption-html-native/gnd.json +11 -0
- package/fixtures/figure-caption-html-native/input.html +11 -0
- package/fixtures/figure-caption-html-native/meta.json +11 -0
- package/fixtures/figure-caption-role-aria/gnd.json +11 -0
- package/fixtures/figure-caption-role-aria/input.html +11 -0
- package/fixtures/figure-caption-role-aria/meta.json +11 -0
- package/fixtures/figure-credit-nested-in-aria-labelledby-caption/gnd.json +39 -0
- package/fixtures/figure-credit-nested-in-aria-labelledby-caption/input.html +4 -0
- package/fixtures/figure-credit-nested-in-aria-labelledby-caption/meta.json +13 -0
- package/fixtures/figure-credit-nested-in-caption/gnd.json +38 -0
- package/fixtures/figure-credit-nested-in-caption/input.html +4 -0
- package/fixtures/figure-credit-nested-in-caption/meta.json +12 -0
- package/fixtures/figure-credit-role-aria/gnd.json +32 -0
- package/fixtures/figure-credit-role-aria/input.html +5 -0
- package/fixtures/figure-credit-role-aria/meta.json +12 -0
- package/fixtures/figure-describedby/gnd.json +23 -0
- package/fixtures/figure-describedby/input.html +4 -0
- package/fixtures/figure-describedby/meta.json +11 -0
- package/fixtures/figure-epub-type/gnd.json +25 -0
- package/fixtures/figure-epub-type/input.xhtml +13 -0
- package/fixtures/figure-epub-type/meta.json +11 -0
- package/fixtures/figure-no-description/gnd.json +13 -0
- package/fixtures/figure-no-description/input.html +3 -0
- package/fixtures/figure-no-description/meta.json +11 -0
- package/fixtures/footnote-epub-type/gnd.json +39 -0
- package/fixtures/footnote-epub-type/input.xhtml +12 -0
- package/fixtures/footnote-epub-type/meta.json +11 -0
- package/fixtures/footnote-role-aria/gnd.json +50 -0
- package/fixtures/footnote-role-aria/input.html +5 -0
- package/fixtures/footnote-role-aria/meta.json +12 -0
- package/fixtures/foreword-epub-type/gnd.json +15 -0
- package/fixtures/foreword-epub-type/input.xhtml +11 -0
- package/fixtures/foreword-epub-type/meta.json +10 -0
- package/fixtures/foreword-role-aria/gnd.json +8 -0
- package/fixtures/foreword-role-aria/input.html +1 -0
- package/fixtures/foreword-role-aria/meta.json +10 -0
- package/fixtures/glossary-epub-type/gnd.json +46 -0
- package/fixtures/glossary-epub-type/input.xhtml +16 -0
- package/fixtures/glossary-epub-type/meta.json +12 -0
- package/fixtures/glossary-role-aria/gnd.json +49 -0
- package/fixtures/glossary-role-aria/input.html +6 -0
- package/fixtures/glossary-role-aria/meta.json +12 -0
- package/fixtures/glossref-epub-type/gnd.json +16 -0
- package/fixtures/glossref-epub-type/input.xhtml +11 -0
- package/fixtures/glossref-epub-type/meta.json +10 -0
- package/fixtures/glossref-role-aria/gnd.json +9 -0
- package/fixtures/glossref-role-aria/input.html +1 -0
- package/fixtures/glossref-role-aria/meta.json +10 -0
- package/fixtures/glossref-role-aria-mid-sentence/gnd.json +32 -0
- package/fixtures/glossref-role-aria-mid-sentence/input.html +4 -0
- package/fixtures/glossref-role-aria-mid-sentence/meta.json +11 -0
- package/fixtures/header-html-native/gnd.json +8 -0
- package/fixtures/header-html-native/input.html +1 -0
- package/fixtures/header-html-native/meta.json +10 -0
- package/fixtures/heading-html-native/gnd.json +52 -0
- package/fixtures/heading-html-native/input.html +6 -0
- package/fixtures/heading-html-native/meta.json +15 -0
- package/fixtures/heading-role-aria/gnd.json +52 -0
- package/fixtures/heading-role-aria/input.html +6 -0
- package/fixtures/heading-role-aria/meta.json +15 -0
- package/fixtures/heading-role-presentation/gnd.json +28 -0
- package/fixtures/heading-role-presentation/input.html +3 -0
- package/fixtures/heading-role-presentation/meta.json +10 -0
- package/fixtures/hidden-aria-hidden-html-native/gnd.json +20 -0
- package/fixtures/hidden-aria-hidden-html-native/input.html +3 -0
- package/fixtures/hidden-aria-hidden-html-native/meta.json +10 -0
- package/fixtures/hidden-attribute-html-native/gnd.json +20 -0
- package/fixtures/hidden-attribute-html-native/input.html +3 -0
- package/fixtures/hidden-attribute-html-native/meta.json +10 -0
- package/fixtures/image-alt-html-native/gnd.json +11 -0
- package/fixtures/image-alt-html-native/input.html +1 -0
- package/fixtures/image-alt-html-native/meta.json +10 -0
- package/fixtures/image-decorative-empty-alt/gnd.json +20 -0
- package/fixtures/image-decorative-empty-alt/input.html +3 -0
- package/fixtures/image-decorative-empty-alt/meta.json +10 -0
- package/fixtures/image-decorative-role-presentation/gnd.json +20 -0
- package/fixtures/image-decorative-role-presentation/input.html +3 -0
- package/fixtures/image-decorative-role-presentation/meta.json +10 -0
- package/fixtures/image-decorative-whitespace-alt/gnd.json +20 -0
- package/fixtures/image-decorative-whitespace-alt/input.html +3 -0
- package/fixtures/image-decorative-whitespace-alt/meta.json +10 -0
- package/fixtures/image-no-description/gnd.json +6 -0
- package/fixtures/image-no-description/input.html +1 -0
- package/fixtures/image-no-description/meta.json +10 -0
- package/fixtures/image-role-aria/gnd.json +11 -0
- package/fixtures/image-role-aria/input.html +7 -0
- package/fixtures/image-role-aria/meta.json +10 -0
- package/fixtures/index-epub-type/gnd.json +48 -0
- package/fixtures/index-epub-type/input.xhtml +16 -0
- package/fixtures/index-epub-type/meta.json +12 -0
- package/fixtures/index-role-aria/gnd.json +40 -0
- package/fixtures/index-role-aria/input.html +6 -0
- package/fixtures/index-role-aria/meta.json +12 -0
- package/fixtures/introduction-epub-type/gnd.json +15 -0
- package/fixtures/introduction-epub-type/input.xhtml +11 -0
- package/fixtures/introduction-epub-type/meta.json +10 -0
- package/fixtures/introduction-role-aria/gnd.json +8 -0
- package/fixtures/introduction-role-aria/input.html +1 -0
- package/fixtures/introduction-role-aria/meta.json +10 -0
- package/fixtures/landmarks-epub-type/gnd.json +61 -0
- package/fixtures/landmarks-epub-type/input.xhtml +17 -0
- package/fixtures/landmarks-epub-type/meta.json +12 -0
- package/fixtures/language-block/gnd.json +25 -0
- package/fixtures/language-block/input.html +11 -0
- package/fixtures/language-block/meta.json +10 -0
- package/fixtures/language-document/gnd.json +16 -0
- package/fixtures/language-document/input.html +10 -0
- package/fixtures/language-document/meta.json +10 -0
- package/fixtures/language-inline-lang-attribute/gnd.json +9 -0
- package/fixtures/language-inline-lang-attribute/input.html +1 -0
- package/fixtures/language-inline-lang-attribute/meta.json +10 -0
- package/fixtures/language-inline-nested/gnd.json +9 -0
- package/fixtures/language-inline-nested/input.html +1 -0
- package/fixtures/language-inline-nested/meta.json +10 -0
- package/fixtures/language-inline-repeated/gnd.json +9 -0
- package/fixtures/language-inline-repeated/input.html +1 -0
- package/fixtures/language-inline-repeated/meta.json +10 -0
- package/fixtures/language-inline-two-languages/gnd.json +9 -0
- package/fixtures/language-inline-two-languages/input.html +1 -0
- package/fixtures/language-inline-two-languages/meta.json +10 -0
- package/fixtures/list-aria-posinset-setsize/gnd.json +15 -0
- package/fixtures/list-aria-posinset-setsize/input.html +3 -0
- package/fixtures/list-aria-posinset-setsize/meta.json +11 -0
- package/fixtures/list-epub-type/gnd.json +30 -0
- package/fixtures/list-epub-type/input.xhtml +14 -0
- package/fixtures/list-epub-type/meta.json +11 -0
- package/fixtures/list-html-native/gnd.json +31 -0
- package/fixtures/list-html-native/input.html +5 -0
- package/fixtures/list-html-native/meta.json +11 -0
- package/fixtures/list-item-posinset-override/gnd.json +31 -0
- package/fixtures/list-item-posinset-override/input.html +5 -0
- package/fixtures/list-item-posinset-override/meta.json +11 -0
- package/fixtures/list-item-value-override/gnd.json +31 -0
- package/fixtures/list-item-value-override/input.html +5 -0
- package/fixtures/list-item-value-override/meta.json +11 -0
- package/fixtures/list-ordered-html-native/gnd.json +31 -0
- package/fixtures/list-ordered-html-native/input.html +5 -0
- package/fixtures/list-ordered-html-native/meta.json +11 -0
- package/fixtures/list-ordered-reversed/gnd.json +31 -0
- package/fixtures/list-ordered-reversed/input.html +5 -0
- package/fixtures/list-ordered-reversed/meta.json +11 -0
- package/fixtures/list-ordered-start/gnd.json +31 -0
- package/fixtures/list-ordered-start/input.html +5 -0
- package/fixtures/list-ordered-start/meta.json +11 -0
- package/fixtures/list-role-aria/gnd.json +31 -0
- package/fixtures/list-role-aria/input.html +5 -0
- package/fixtures/list-role-aria/meta.json +11 -0
- package/fixtures/listitem-role-presentation/gnd.json +23 -0
- package/fixtures/listitem-role-presentation/input.html +4 -0
- package/fixtures/listitem-role-presentation/meta.json +10 -0
- package/fixtures/loa-epub-type/gnd.json +48 -0
- package/fixtures/loa-epub-type/input.xhtml +16 -0
- package/fixtures/loa-epub-type/meta.json +12 -0
- package/fixtures/loi-epub-type/gnd.json +48 -0
- package/fixtures/loi-epub-type/input.xhtml +16 -0
- package/fixtures/loi-epub-type/meta.json +12 -0
- package/fixtures/lot-epub-type/gnd.json +48 -0
- package/fixtures/lot-epub-type/input.xhtml +16 -0
- package/fixtures/lot-epub-type/meta.json +12 -0
- package/fixtures/lov-epub-type/gnd.json +48 -0
- package/fixtures/lov-epub-type/input.xhtml +16 -0
- package/fixtures/lov-epub-type/meta.json +12 -0
- package/fixtures/main-html-native/gnd.json +8 -0
- package/fixtures/main-html-native/input.html +1 -0
- package/fixtures/main-html-native/meta.json +10 -0
- package/fixtures/main-role-aria/gnd.json +8 -0
- package/fixtures/main-role-aria/input.html +1 -0
- package/fixtures/main-role-aria/meta.json +10 -0
- package/fixtures/manifest.json +1782 -0
- package/fixtures/math-html-native/gnd.json +14 -0
- package/fixtures/math-html-native/input.html +7 -0
- package/fixtures/math-html-native/meta.json +10 -0
- package/fixtures/math-no-description/gnd.json +9 -0
- package/fixtures/math-no-description/input.html +7 -0
- package/fixtures/math-no-description/meta.json +10 -0
- package/fixtures/math-role-aria/gnd.json +14 -0
- package/fixtures/math-role-aria/input.html +1 -0
- package/fixtures/math-role-aria/meta.json +10 -0
- package/fixtures/navigation-html-native/gnd.json +8 -0
- package/fixtures/navigation-html-native/input.html +1 -0
- package/fixtures/navigation-html-native/meta.json +10 -0
- package/fixtures/navigation-role-aria/gnd.json +8 -0
- package/fixtures/navigation-role-aria/input.html +1 -0
- package/fixtures/navigation-role-aria/meta.json +10 -0
- package/fixtures/noteref-role-aria/gnd.json +13 -0
- package/fixtures/noteref-role-aria/input.html +1 -0
- package/fixtures/noteref-role-aria/meta.json +10 -0
- package/fixtures/noteref-target-in-endnotes-epub-type/gnd.json +72 -0
- package/fixtures/noteref-target-in-endnotes-epub-type/input.xhtml +17 -0
- package/fixtures/noteref-target-in-endnotes-epub-type/meta.json +15 -0
- package/fixtures/noteref-target-in-endnotes-role-aria/gnd.json +69 -0
- package/fixtures/noteref-target-in-endnotes-role-aria/input.html +7 -0
- package/fixtures/noteref-target-in-endnotes-role-aria/meta.json +15 -0
- package/fixtures/notice-epub-type/gnd.json +15 -0
- package/fixtures/notice-epub-type/input.xhtml +11 -0
- package/fixtures/notice-epub-type/meta.json +10 -0
- package/fixtures/notice-role-aria/gnd.json +8 -0
- package/fixtures/notice-role-aria/input.html +1 -0
- package/fixtures/notice-role-aria/meta.json +10 -0
- package/fixtures/pagebreak-epub-type/gnd.json +36 -0
- package/fixtures/pagebreak-epub-type/input.xhtml +12 -0
- package/fixtures/pagebreak-epub-type/meta.json +10 -0
- package/fixtures/pagebreak-role-aria/gnd.json +33 -0
- package/fixtures/pagebreak-role-aria/input.html +2 -0
- package/fixtures/pagebreak-role-aria/meta.json +10 -0
- package/fixtures/pagelist-epub-type/gnd.json +61 -0
- package/fixtures/pagelist-epub-type/input.xhtml +17 -0
- package/fixtures/pagelist-epub-type/meta.json +12 -0
- package/fixtures/pagelist-role-aria/gnd.json +54 -0
- package/fixtures/pagelist-role-aria/input.html +7 -0
- package/fixtures/pagelist-role-aria/meta.json +12 -0
- package/fixtures/paragraph-basic/gnd.json +8 -0
- package/fixtures/paragraph-basic/input.html +1 -0
- package/fixtures/paragraph-basic/meta.json +10 -0
- package/fixtures/part-epub-type/gnd.json +23 -0
- package/fixtures/part-epub-type/input.xhtml +13 -0
- package/fixtures/part-epub-type/meta.json +11 -0
- package/fixtures/part-role-aria/gnd.json +16 -0
- package/fixtures/part-role-aria/input.html +3 -0
- package/fixtures/part-role-aria/meta.json +11 -0
- package/fixtures/preface-epub-type/gnd.json +15 -0
- package/fixtures/preface-epub-type/input.xhtml +11 -0
- package/fixtures/preface-epub-type/meta.json +10 -0
- package/fixtures/preface-role-aria/gnd.json +8 -0
- package/fixtures/preface-role-aria/input.html +1 -0
- package/fixtures/preface-role-aria/meta.json +10 -0
- package/fixtures/preformatted-html-native/gnd.json +8 -0
- package/fixtures/preformatted-html-native/input.html +2 -0
- package/fixtures/preformatted-html-native/meta.json +10 -0
- package/fixtures/presentation-role-aria/gnd.json +8 -0
- package/fixtures/presentation-role-aria/input.html +1 -0
- package/fixtures/presentation-role-aria/meta.json +10 -0
- package/fixtures/prologue-epub-type/gnd.json +15 -0
- package/fixtures/prologue-epub-type/input.xhtml +11 -0
- package/fixtures/prologue-epub-type/meta.json +10 -0
- package/fixtures/prologue-role-aria/gnd.json +8 -0
- package/fixtures/prologue-role-aria/input.html +1 -0
- package/fixtures/prologue-role-aria/meta.json +10 -0
- package/fixtures/pullquote-epub-type/gnd.json +16 -0
- package/fixtures/pullquote-epub-type/input.xhtml +11 -0
- package/fixtures/pullquote-epub-type/meta.json +10 -0
- package/fixtures/pullquote-role-aria/gnd.json +8 -0
- package/fixtures/pullquote-role-aria/input.html +1 -0
- package/fixtures/pullquote-role-aria/meta.json +10 -0
- package/fixtures/qna-epub-type/gnd.json +16 -0
- package/fixtures/qna-epub-type/input.xhtml +11 -0
- package/fixtures/qna-epub-type/meta.json +10 -0
- package/fixtures/qna-role-aria/gnd.json +8 -0
- package/fixtures/qna-role-aria/input.html +1 -0
- package/fixtures/qna-role-aria/meta.json +10 -0
- package/fixtures/region-role-aria/gnd.json +8 -0
- package/fixtures/region-role-aria/input.html +1 -0
- package/fixtures/region-role-aria/meta.json +10 -0
- package/fixtures/section-html-native/gnd.json +8 -0
- package/fixtures/section-html-native/input.html +1 -0
- package/fixtures/section-html-native/meta.json +10 -0
- package/fixtures/separator-html-native/gnd.json +26 -0
- package/fixtures/separator-html-native/input.html +3 -0
- package/fixtures/separator-html-native/meta.json +10 -0
- package/fixtures/separator-role-aria/gnd.json +26 -0
- package/fixtures/separator-role-aria/input.html +3 -0
- package/fixtures/separator-role-aria/meta.json +10 -0
- package/fixtures/separator-with-glyphs/gnd.json +28 -0
- package/fixtures/separator-with-glyphs/input.html +3 -0
- package/fixtures/separator-with-glyphs/meta.json +10 -0
- package/fixtures/subtitle-epub-type/gnd.json +15 -0
- package/fixtures/subtitle-epub-type/input.xhtml +11 -0
- package/fixtures/subtitle-epub-type/meta.json +10 -0
- package/fixtures/subtitle-role-aria/gnd.json +8 -0
- package/fixtures/subtitle-role-aria/input.html +1 -0
- package/fixtures/subtitle-role-aria/meta.json +10 -0
- package/fixtures/summary-html-native/gnd.json +8 -0
- package/fixtures/summary-html-native/input.html +1 -0
- package/fixtures/summary-html-native/meta.json +10 -0
- package/fixtures/table-caption/gnd.json +81 -0
- package/fixtures/table-caption/input.html +5 -0
- package/fixtures/table-caption/meta.json +14 -0
- package/fixtures/table-caption-element-html-native/gnd.json +42 -0
- package/fixtures/table-caption-element-html-native/input.html +5 -0
- package/fixtures/table-caption-element-html-native/meta.json +14 -0
- package/fixtures/table-caption-role-aria/gnd.json +27 -0
- package/fixtures/table-caption-role-aria/input.html +4 -0
- package/fixtures/table-caption-role-aria/meta.json +13 -0
- package/fixtures/table-colspan-html-native/gnd.json +45 -0
- package/fixtures/table-colspan-html-native/input.html +4 -0
- package/fixtures/table-colspan-html-native/meta.json +13 -0
- package/fixtures/table-colspan-role-aria/gnd.json +45 -0
- package/fixtures/table-colspan-role-aria/input.html +4 -0
- package/fixtures/table-colspan-role-aria/meta.json +13 -0
- package/fixtures/table-epub-type/gnd.json +37 -0
- package/fixtures/table-epub-type/input.xhtml +16 -0
- package/fixtures/table-epub-type/meta.json +12 -0
- package/fixtures/table-html-native/gnd.json +76 -0
- package/fixtures/table-html-native/input.html +5 -0
- package/fixtures/table-html-native/meta.json +14 -0
- package/fixtures/table-in-role-none-wrapper/gnd.json +44 -0
- package/fixtures/table-in-role-none-wrapper/input.html +6 -0
- package/fixtures/table-in-role-none-wrapper/meta.json +14 -0
- package/fixtures/table-nested-html-native/gnd.json +48 -0
- package/fixtures/table-nested-html-native/input.html +3 -0
- package/fixtures/table-nested-html-native/meta.json +12 -0
- package/fixtures/table-nested-in-presentation-table/gnd.json +63 -0
- package/fixtures/table-nested-in-presentation-table/input.html +3 -0
- package/fixtures/table-nested-in-presentation-table/meta.json +14 -0
- package/fixtures/table-nested-role-aria/gnd.json +48 -0
- package/fixtures/table-nested-role-aria/input.html +9 -0
- package/fixtures/table-nested-role-aria/meta.json +12 -0
- package/fixtures/table-no-headers/gnd.json +53 -0
- package/fixtures/table-no-headers/input.html +10 -0
- package/fixtures/table-no-headers/meta.json +12 -0
- package/fixtures/table-role-aria/gnd.json +76 -0
- package/fixtures/table-role-aria/input.html +5 -0
- package/fixtures/table-role-aria/meta.json +14 -0
- package/fixtures/table-role-presentation-explicit-cell/gnd.json +30 -0
- package/fixtures/table-role-presentation-explicit-cell/input.html +3 -0
- package/fixtures/table-role-presentation-explicit-cell/meta.json +11 -0
- package/fixtures/table-role-presentation-html-native/gnd.json +37 -0
- package/fixtures/table-role-presentation-html-native/input.html +4 -0
- package/fixtures/table-role-presentation-html-native/meta.json +13 -0
- package/fixtures/table-role-presentation-role-aria/gnd.json +37 -0
- package/fixtures/table-role-presentation-role-aria/input.html +4 -0
- package/fixtures/table-role-presentation-role-aria/meta.json +13 -0
- package/fixtures/table-rowgroup-role-aria/gnd.json +22 -0
- package/fixtures/table-rowgroup-role-aria/input.html +5 -0
- package/fixtures/table-rowgroup-role-aria/meta.json +12 -0
- package/fixtures/table-rowspan-html-native/gnd.json +45 -0
- package/fixtures/table-rowspan-html-native/input.html +4 -0
- package/fixtures/table-rowspan-html-native/meta.json +13 -0
- package/fixtures/table-rowspan-role-aria/gnd.json +45 -0
- package/fixtures/table-rowspan-role-aria/input.html +4 -0
- package/fixtures/table-rowspan-role-aria/meta.json +13 -0
- package/fixtures/table-sectioning/gnd.json +52 -0
- package/fixtures/table-sectioning/input.html +11 -0
- package/fixtures/table-sectioning/meta.json +13 -0
- package/fixtures/table-th-no-scope/gnd.json +53 -0
- package/fixtures/table-th-no-scope/input.html +4 -0
- package/fixtures/table-th-no-scope/meta.json +12 -0
- package/fixtures/term-epub-type/gnd.json +22 -0
- package/fixtures/term-epub-type/input.xhtml +13 -0
- package/fixtures/term-epub-type/meta.json +11 -0
- package/fixtures/term-html-native/gnd.json +8 -0
- package/fixtures/term-html-native/input.html +1 -0
- package/fixtures/term-html-native/meta.json +10 -0
- package/fixtures/term-role-aria/gnd.json +8 -0
- package/fixtures/term-role-aria/input.html +1 -0
- package/fixtures/term-role-aria/meta.json +10 -0
- package/fixtures/tip-epub-type/gnd.json +16 -0
- package/fixtures/tip-epub-type/input.xhtml +11 -0
- package/fixtures/tip-epub-type/meta.json +10 -0
- package/fixtures/tip-role-aria/gnd.json +8 -0
- package/fixtures/tip-role-aria/input.html +1 -0
- package/fixtures/tip-role-aria/meta.json +10 -0
- package/fixtures/toc-epub-type/gnd.json +61 -0
- package/fixtures/toc-epub-type/input.xhtml +17 -0
- package/fixtures/toc-epub-type/meta.json +12 -0
- package/fixtures/toc-role-aria/gnd.json +54 -0
- package/fixtures/toc-role-aria/input.html +7 -0
- package/fixtures/toc-role-aria/meta.json +12 -0
- package/fixtures/video-html-native/gnd.json +11 -0
- package/fixtures/video-html-native/input.html +1 -0
- package/fixtures/video-html-native/meta.json +10 -0
- package/fixtures/video-no-description/gnd.json +6 -0
- package/fixtures/video-no-description/input.html +1 -0
- package/fixtures/video-no-description/meta.json +10 -0
- package/package.json +65 -0
- package/src/a11y.ts +166 -0
- package/src/converter.ts +730 -0
- package/src/dom.ts +56 -0
- package/src/domRangeGenerator.ts +55 -0
- package/src/elementHandlers.ts +88 -0
- package/src/idAllocator.ts +26 -0
- package/src/index.ts +15 -0
- package/src/makeGnd.ts +20 -0
- package/src/object.ts +175 -0
- package/src/options.ts +77 -0
- package/src/prescan.ts +40 -0
- package/src/roles.ts +350 -0
- package/src/selectorGenerator.ts +86 -0
- package/src/text.ts +65 -0
- package/src/textFragmentGenerator.ts +11 -0
- package/src/textrefFragment.ts +190 -0
- package/src/types.ts +2 -0
- package/types/src/a11y.d.ts +19 -0
- package/types/src/converter.d.ts +76 -0
- package/types/src/dom.d.ts +6 -0
- package/types/src/domRangeGenerator.d.ts +9 -0
- package/types/src/elementHandlers.d.ts +5 -0
- package/types/src/idAllocator.d.ts +6 -0
- package/types/src/index.d.ts +8 -0
- package/types/src/makeGnd.d.ts +10 -0
- package/types/src/object.d.ts +29 -0
- package/types/src/options.d.ts +18 -0
- package/types/src/prescan.d.ts +1 -0
- package/types/src/roles.d.ts +3 -0
- package/types/src/selectorGenerator.d.ts +3 -0
- package/types/src/text.d.ts +16 -0
- package/types/src/textFragmentGenerator.d.ts +2 -0
- package/types/src/textrefFragment.d.ts +40 -0
- package/types/src/types.d.ts +1 -0
|
@@ -0,0 +1,1782 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "abstract-epub-type",
|
|
4
|
+
"dir": "abstract-epub-type",
|
|
5
|
+
"role": "abstract",
|
|
6
|
+
"description": "abstract role via epub:type=\"abstract\"",
|
|
7
|
+
"files": {
|
|
8
|
+
"input": "input.xhtml",
|
|
9
|
+
"gnd": "gnd.json"
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"id": "abstract-role-aria",
|
|
14
|
+
"dir": "abstract-role-aria",
|
|
15
|
+
"role": "abstract",
|
|
16
|
+
"description": "abstract role via explicit ARIA role=\"doc-abstract\"",
|
|
17
|
+
"files": {
|
|
18
|
+
"input": "input.html",
|
|
19
|
+
"gnd": "gnd.json"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"id": "acknowledgments-epub-type",
|
|
24
|
+
"dir": "acknowledgments-epub-type",
|
|
25
|
+
"role": "acknowledgments",
|
|
26
|
+
"description": "acknowledgments role via epub:type=\"acknowledgments\"",
|
|
27
|
+
"files": {
|
|
28
|
+
"input": "input.xhtml",
|
|
29
|
+
"gnd": "gnd.json"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"id": "acknowledgments-role-aria",
|
|
34
|
+
"dir": "acknowledgments-role-aria",
|
|
35
|
+
"role": "acknowledgments",
|
|
36
|
+
"description": "acknowledgments role via explicit ARIA role=\"doc-acknowledgments\"",
|
|
37
|
+
"files": {
|
|
38
|
+
"input": "input.html",
|
|
39
|
+
"gnd": "gnd.json"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"id": "afterword-epub-type",
|
|
44
|
+
"dir": "afterword-epub-type",
|
|
45
|
+
"role": "afterword",
|
|
46
|
+
"description": "afterword role via epub:type=\"afterword\"",
|
|
47
|
+
"files": {
|
|
48
|
+
"input": "input.xhtml",
|
|
49
|
+
"gnd": "gnd.json"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"id": "afterword-role-aria",
|
|
54
|
+
"dir": "afterword-role-aria",
|
|
55
|
+
"role": "afterword",
|
|
56
|
+
"description": "afterword role via explicit ARIA role=\"doc-afterword\"",
|
|
57
|
+
"files": {
|
|
58
|
+
"input": "input.html",
|
|
59
|
+
"gnd": "gnd.json"
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"id": "appendix-epub-type",
|
|
64
|
+
"dir": "appendix-epub-type",
|
|
65
|
+
"role": "appendix",
|
|
66
|
+
"description": "appendix role via epub:type=\"appendix\" on a <section>",
|
|
67
|
+
"files": {
|
|
68
|
+
"input": "input.xhtml",
|
|
69
|
+
"gnd": "gnd.json"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"id": "appendix-role-aria",
|
|
74
|
+
"dir": "appendix-role-aria",
|
|
75
|
+
"role": "appendix",
|
|
76
|
+
"description": "appendix role via explicit ARIA role=\"doc-appendix\"",
|
|
77
|
+
"files": {
|
|
78
|
+
"input": "input.html",
|
|
79
|
+
"gnd": "gnd.json"
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"id": "article-html-native",
|
|
84
|
+
"dir": "article-html-native",
|
|
85
|
+
"role": "article",
|
|
86
|
+
"description": "article role via native <article> element",
|
|
87
|
+
"files": {
|
|
88
|
+
"input": "input.html",
|
|
89
|
+
"gnd": "gnd.json"
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"id": "article-role-aria",
|
|
94
|
+
"dir": "article-role-aria",
|
|
95
|
+
"role": "article",
|
|
96
|
+
"description": "article role via explicit ARIA role=\"article\" — the only encoding of this role previously untested; article-html-native covers the native <article> element",
|
|
97
|
+
"files": {
|
|
98
|
+
"input": "input.html",
|
|
99
|
+
"gnd": "gnd.json"
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"id": "aside-epub-type",
|
|
104
|
+
"dir": "aside-epub-type",
|
|
105
|
+
"role": "aside",
|
|
106
|
+
"description": "aside role via epub:type=\"aside\" on a neutral <div> (isolating the epub:type code path from the native <aside> tag mapping) — the only encoding of this role previously untested; aside-html-native covers the native element",
|
|
107
|
+
"files": {
|
|
108
|
+
"input": "input.xhtml",
|
|
109
|
+
"gnd": "gnd.json"
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"id": "aside-html-native",
|
|
114
|
+
"dir": "aside-html-native",
|
|
115
|
+
"role": "aside",
|
|
116
|
+
"description": "aside role via native <aside> element",
|
|
117
|
+
"files": {
|
|
118
|
+
"input": "input.html",
|
|
119
|
+
"gnd": "gnd.json"
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"id": "audio-html-native",
|
|
124
|
+
"dir": "audio-html-native",
|
|
125
|
+
"role": "audio",
|
|
126
|
+
"description": "audio role via native <audio src> element, with an aria-label as the accessible description",
|
|
127
|
+
"files": {
|
|
128
|
+
"input": "input.html",
|
|
129
|
+
"gnd": "gnd.json"
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"id": "audio-no-description",
|
|
134
|
+
"dir": "audio-no-description",
|
|
135
|
+
"role": "audio",
|
|
136
|
+
"description": "audio role via native <audio src> element, with no accessible name at all",
|
|
137
|
+
"files": {
|
|
138
|
+
"input": "input.html",
|
|
139
|
+
"gnd": "gnd.json"
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"id": "backlink-epub-type",
|
|
144
|
+
"dir": "backlink-epub-type",
|
|
145
|
+
"role": "backlink",
|
|
146
|
+
"description": "backlink role via epub:type=\"backlink\" on an <a href>",
|
|
147
|
+
"files": {
|
|
148
|
+
"input": "input.xhtml",
|
|
149
|
+
"gnd": "gnd.json"
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"id": "backlink-role-aria",
|
|
154
|
+
"dir": "backlink-role-aria",
|
|
155
|
+
"role": "backlink",
|
|
156
|
+
"description": "backlink role via explicit ARIA role=\"doc-backlink\" on an <a href>",
|
|
157
|
+
"files": {
|
|
158
|
+
"input": "input.html",
|
|
159
|
+
"gnd": "gnd.json"
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"id": "bibliography-epub-type",
|
|
164
|
+
"dir": "bibliography-epub-type",
|
|
165
|
+
"role": "bibliography",
|
|
166
|
+
"description": "A bibliography list of cited references, via epub:type=\"bibliography\" on a <section>",
|
|
167
|
+
"files": {
|
|
168
|
+
"input": "input.xhtml",
|
|
169
|
+
"gnd": "gnd.json"
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"id": "bibliography-role-aria",
|
|
174
|
+
"dir": "bibliography-role-aria",
|
|
175
|
+
"role": "bibliography",
|
|
176
|
+
"description": "A bibliography list of cited references, via explicit ARIA role",
|
|
177
|
+
"files": {
|
|
178
|
+
"input": "input.html",
|
|
179
|
+
"gnd": "gnd.json"
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"id": "biblioref-epub-type",
|
|
184
|
+
"dir": "biblioref-epub-type",
|
|
185
|
+
"role": "biblioref",
|
|
186
|
+
"description": "biblioref role via epub:type=\"biblioref\" on an <a href>",
|
|
187
|
+
"files": {
|
|
188
|
+
"input": "input.xhtml",
|
|
189
|
+
"gnd": "gnd.json"
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"id": "biblioref-role-aria",
|
|
194
|
+
"dir": "biblioref-role-aria",
|
|
195
|
+
"role": "biblioref",
|
|
196
|
+
"description": "biblioref role via explicit ARIA role=\"doc-biblioref\" on an <a href>",
|
|
197
|
+
"files": {
|
|
198
|
+
"input": "input.html",
|
|
199
|
+
"gnd": "gnd.json"
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"id": "blockquote-html-native",
|
|
204
|
+
"dir": "blockquote-html-native",
|
|
205
|
+
"role": "blockquote",
|
|
206
|
+
"description": "blockquote role via native <blockquote> element",
|
|
207
|
+
"files": {
|
|
208
|
+
"input": "input.html",
|
|
209
|
+
"gnd": "gnd.json"
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"id": "blockquote-role-aria",
|
|
214
|
+
"dir": "blockquote-role-aria",
|
|
215
|
+
"role": "blockquote",
|
|
216
|
+
"description": "blockquote role via explicit ARIA role=\"blockquote\" — the only encoding of this role previously untested; blockquote-html-native covers the native <blockquote> element",
|
|
217
|
+
"files": {
|
|
218
|
+
"input": "input.html",
|
|
219
|
+
"gnd": "gnd.json"
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"id": "body-html-native",
|
|
224
|
+
"dir": "body-html-native",
|
|
225
|
+
"role": "body",
|
|
226
|
+
"description": "body role via native <body> element",
|
|
227
|
+
"files": {
|
|
228
|
+
"input": "input.html",
|
|
229
|
+
"gnd": "gnd.json"
|
|
230
|
+
}
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"id": "chapter-epub-type",
|
|
234
|
+
"dir": "chapter-epub-type",
|
|
235
|
+
"role": "chapter",
|
|
236
|
+
"description": "chapter role via epub:type=\"chapter\", containing a heading",
|
|
237
|
+
"files": {
|
|
238
|
+
"input": "input.xhtml",
|
|
239
|
+
"gnd": "gnd.json"
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"id": "chapter-role-aria",
|
|
244
|
+
"dir": "chapter-role-aria",
|
|
245
|
+
"role": "chapter",
|
|
246
|
+
"description": "chapter role via explicit ARIA role=\"doc-chapter\", containing a heading",
|
|
247
|
+
"files": {
|
|
248
|
+
"input": "input.html",
|
|
249
|
+
"gnd": "gnd.json"
|
|
250
|
+
}
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"id": "colophon-epub-type",
|
|
254
|
+
"dir": "colophon-epub-type",
|
|
255
|
+
"role": "colophon",
|
|
256
|
+
"description": "colophon role via epub:type=\"colophon\"",
|
|
257
|
+
"files": {
|
|
258
|
+
"input": "input.xhtml",
|
|
259
|
+
"gnd": "gnd.json"
|
|
260
|
+
}
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"id": "colophon-role-aria",
|
|
264
|
+
"dir": "colophon-role-aria",
|
|
265
|
+
"role": "colophon",
|
|
266
|
+
"description": "colophon role via explicit ARIA role=\"doc-colophon\"",
|
|
267
|
+
"files": {
|
|
268
|
+
"input": "input.html",
|
|
269
|
+
"gnd": "gnd.json"
|
|
270
|
+
}
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"id": "complementary-role-aria",
|
|
274
|
+
"dir": "complementary-role-aria",
|
|
275
|
+
"role": "complementary",
|
|
276
|
+
"description": "complementary role via explicit ARIA role=\"complementary\"",
|
|
277
|
+
"files": {
|
|
278
|
+
"input": "input.html",
|
|
279
|
+
"gnd": "gnd.json"
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"id": "conclusion-epub-type",
|
|
284
|
+
"dir": "conclusion-epub-type",
|
|
285
|
+
"role": "conclusion",
|
|
286
|
+
"description": "conclusion role via epub:type=\"conclusion\"",
|
|
287
|
+
"files": {
|
|
288
|
+
"input": "input.xhtml",
|
|
289
|
+
"gnd": "gnd.json"
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"id": "conclusion-role-aria",
|
|
294
|
+
"dir": "conclusion-role-aria",
|
|
295
|
+
"role": "conclusion",
|
|
296
|
+
"description": "conclusion role via explicit ARIA role=\"doc-conclusion\"",
|
|
297
|
+
"files": {
|
|
298
|
+
"input": "input.html",
|
|
299
|
+
"gnd": "gnd.json"
|
|
300
|
+
}
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"id": "cover-epub-type",
|
|
304
|
+
"dir": "cover-epub-type",
|
|
305
|
+
"role": "cover",
|
|
306
|
+
"description": "cover role via epub:type=\"cover\" on a <section> wrapping the cover image",
|
|
307
|
+
"files": {
|
|
308
|
+
"input": "input.xhtml",
|
|
309
|
+
"gnd": "gnd.json"
|
|
310
|
+
}
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
"id": "cover-role-aria",
|
|
314
|
+
"dir": "cover-role-aria",
|
|
315
|
+
"role": "cover",
|
|
316
|
+
"description": "cover role via explicit ARIA role=\"doc-cover\" on an <img>",
|
|
317
|
+
"files": {
|
|
318
|
+
"input": "input.html",
|
|
319
|
+
"gnd": "gnd.json"
|
|
320
|
+
}
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"id": "credit-epub-type",
|
|
324
|
+
"dir": "credit-epub-type",
|
|
325
|
+
"role": "credit",
|
|
326
|
+
"description": "credit role via epub:type=\"credit\" on a <span>",
|
|
327
|
+
"files": {
|
|
328
|
+
"input": "input.xhtml",
|
|
329
|
+
"gnd": "gnd.json"
|
|
330
|
+
}
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"id": "credit-role-aria",
|
|
334
|
+
"dir": "credit-role-aria",
|
|
335
|
+
"role": "credit",
|
|
336
|
+
"description": "credit role via explicit ARIA role=\"doc-credit\"",
|
|
337
|
+
"files": {
|
|
338
|
+
"input": "input.html",
|
|
339
|
+
"gnd": "gnd.json"
|
|
340
|
+
}
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"id": "credits-epub-type",
|
|
344
|
+
"dir": "credits-epub-type",
|
|
345
|
+
"role": "credits",
|
|
346
|
+
"description": "A collection of credits, via epub:type=\"credits\"; each entry is a <span epub:type=\"credit\">",
|
|
347
|
+
"files": {
|
|
348
|
+
"input": "input.xhtml",
|
|
349
|
+
"gnd": "gnd.json"
|
|
350
|
+
}
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
"id": "credits-role-aria",
|
|
354
|
+
"dir": "credits-role-aria",
|
|
355
|
+
"role": "credits",
|
|
356
|
+
"description": "A collection of credits, via explicit ARIA role",
|
|
357
|
+
"files": {
|
|
358
|
+
"input": "input.html",
|
|
359
|
+
"gnd": "gnd.json"
|
|
360
|
+
}
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"id": "dedication-epub-type",
|
|
364
|
+
"dir": "dedication-epub-type",
|
|
365
|
+
"role": "dedication",
|
|
366
|
+
"description": "dedication role via epub:type=\"dedication\"",
|
|
367
|
+
"files": {
|
|
368
|
+
"input": "input.xhtml",
|
|
369
|
+
"gnd": "gnd.json"
|
|
370
|
+
}
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"id": "dedication-role-aria",
|
|
374
|
+
"dir": "dedication-role-aria",
|
|
375
|
+
"role": "dedication",
|
|
376
|
+
"description": "dedication role via explicit ARIA role=\"doc-dedication\"",
|
|
377
|
+
"files": {
|
|
378
|
+
"input": "input.html",
|
|
379
|
+
"gnd": "gnd.json"
|
|
380
|
+
}
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
"id": "definition-epub-type",
|
|
384
|
+
"dir": "definition-epub-type",
|
|
385
|
+
"role": "definition",
|
|
386
|
+
"description": "definition role via epub:type=\"glossdef\" on a <dd>, nested in a <dl epub:type=\"glossary\">",
|
|
387
|
+
"files": {
|
|
388
|
+
"input": "input.xhtml",
|
|
389
|
+
"gnd": "gnd.json"
|
|
390
|
+
}
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
"id": "definition-html-native",
|
|
394
|
+
"dir": "definition-html-native",
|
|
395
|
+
"role": "definition",
|
|
396
|
+
"description": "definition role via native <dd> element, nested in a <dl> as its content model requires",
|
|
397
|
+
"files": {
|
|
398
|
+
"input": "input.html",
|
|
399
|
+
"gnd": "gnd.json"
|
|
400
|
+
}
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
"id": "definition-role-aria",
|
|
404
|
+
"dir": "definition-role-aria",
|
|
405
|
+
"role": "definition",
|
|
406
|
+
"description": "definition role via explicit ARIA role=\"definition\"",
|
|
407
|
+
"files": {
|
|
408
|
+
"input": "input.html",
|
|
409
|
+
"gnd": "gnd.json"
|
|
410
|
+
}
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
"id": "details-html-native",
|
|
414
|
+
"dir": "details-html-native",
|
|
415
|
+
"role": "details",
|
|
416
|
+
"description": "details role via native <details> element",
|
|
417
|
+
"files": {
|
|
418
|
+
"input": "input.html",
|
|
419
|
+
"gnd": "gnd.json"
|
|
420
|
+
}
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
"id": "details-summary-html-native",
|
|
424
|
+
"dir": "details-summary-html-native",
|
|
425
|
+
"role": "details",
|
|
426
|
+
"description": "details role via native <details> element, with its <summary> as the visible disclosure label",
|
|
427
|
+
"files": {
|
|
428
|
+
"input": "input.html",
|
|
429
|
+
"gnd": "gnd.json"
|
|
430
|
+
}
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
"id": "endnotes-epub-type",
|
|
434
|
+
"dir": "endnotes-epub-type",
|
|
435
|
+
"role": "endnotes",
|
|
436
|
+
"description": "A collection of endnotes, via epub:type=\"endnotes\" on a <section>; each entry is an <aside epub:type=\"footnote\">",
|
|
437
|
+
"files": {
|
|
438
|
+
"input": "input.xhtml",
|
|
439
|
+
"gnd": "gnd.json"
|
|
440
|
+
}
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
"id": "endnotes-role-aria",
|
|
444
|
+
"dir": "endnotes-role-aria",
|
|
445
|
+
"role": "endnotes",
|
|
446
|
+
"description": "A collection of endnotes, via explicit ARIA role",
|
|
447
|
+
"files": {
|
|
448
|
+
"input": "input.html",
|
|
449
|
+
"gnd": "gnd.json"
|
|
450
|
+
}
|
|
451
|
+
},
|
|
452
|
+
{
|
|
453
|
+
"id": "epigraph-epub-type",
|
|
454
|
+
"dir": "epigraph-epub-type",
|
|
455
|
+
"role": "epigraph",
|
|
456
|
+
"description": "epigraph role via epub:type=\"epigraph\"",
|
|
457
|
+
"files": {
|
|
458
|
+
"input": "input.xhtml",
|
|
459
|
+
"gnd": "gnd.json"
|
|
460
|
+
}
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
"id": "epigraph-role-aria",
|
|
464
|
+
"dir": "epigraph-role-aria",
|
|
465
|
+
"role": "epigraph",
|
|
466
|
+
"description": "epigraph role via explicit ARIA role=\"doc-epigraph\"",
|
|
467
|
+
"files": {
|
|
468
|
+
"input": "input.html",
|
|
469
|
+
"gnd": "gnd.json"
|
|
470
|
+
}
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
"id": "epilogue-epub-type",
|
|
474
|
+
"dir": "epilogue-epub-type",
|
|
475
|
+
"role": "epilogue",
|
|
476
|
+
"description": "epilogue role via epub:type=\"epilogue\"",
|
|
477
|
+
"files": {
|
|
478
|
+
"input": "input.xhtml",
|
|
479
|
+
"gnd": "gnd.json"
|
|
480
|
+
}
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
"id": "epilogue-role-aria",
|
|
484
|
+
"dir": "epilogue-role-aria",
|
|
485
|
+
"role": "epilogue",
|
|
486
|
+
"description": "epilogue role via explicit ARIA role=\"doc-epilogue\"",
|
|
487
|
+
"files": {
|
|
488
|
+
"input": "input.html",
|
|
489
|
+
"gnd": "gnd.json"
|
|
490
|
+
}
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
"id": "errata-epub-type",
|
|
494
|
+
"dir": "errata-epub-type",
|
|
495
|
+
"role": "errata",
|
|
496
|
+
"description": "errata role via epub:type=\"errata\"",
|
|
497
|
+
"files": {
|
|
498
|
+
"input": "input.xhtml",
|
|
499
|
+
"gnd": "gnd.json"
|
|
500
|
+
}
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
"id": "errata-role-aria",
|
|
504
|
+
"dir": "errata-role-aria",
|
|
505
|
+
"role": "errata",
|
|
506
|
+
"description": "errata role via explicit ARIA role=\"doc-errata\"",
|
|
507
|
+
"files": {
|
|
508
|
+
"input": "input.html",
|
|
509
|
+
"gnd": "gnd.json"
|
|
510
|
+
}
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
"id": "example-epub-type",
|
|
514
|
+
"dir": "example-epub-type",
|
|
515
|
+
"role": "example",
|
|
516
|
+
"description": "example role via epub:type=\"example\"",
|
|
517
|
+
"files": {
|
|
518
|
+
"input": "input.xhtml",
|
|
519
|
+
"gnd": "gnd.json"
|
|
520
|
+
}
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
"id": "example-role-aria",
|
|
524
|
+
"dir": "example-role-aria",
|
|
525
|
+
"role": "example",
|
|
526
|
+
"description": "example role via explicit ARIA role=\"doc-example\"",
|
|
527
|
+
"files": {
|
|
528
|
+
"input": "input.html",
|
|
529
|
+
"gnd": "gnd.json"
|
|
530
|
+
}
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
"id": "figure-basic-html-native",
|
|
534
|
+
"dir": "figure-basic-html-native",
|
|
535
|
+
"role": "figure",
|
|
536
|
+
"description": "A figure containing an image, with no caption, via native <figure>",
|
|
537
|
+
"files": {
|
|
538
|
+
"input": "input.html",
|
|
539
|
+
"gnd": "gnd.json"
|
|
540
|
+
}
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
"id": "figure-basic-role-aria",
|
|
544
|
+
"dir": "figure-basic-role-aria",
|
|
545
|
+
"role": "figure",
|
|
546
|
+
"description": "A figure containing an image, with no caption, via explicit role=\"figure\"",
|
|
547
|
+
"files": {
|
|
548
|
+
"input": "input.html",
|
|
549
|
+
"gnd": "gnd.json"
|
|
550
|
+
}
|
|
551
|
+
},
|
|
552
|
+
{
|
|
553
|
+
"id": "figure-caption-element-html-native",
|
|
554
|
+
"dir": "figure-caption-element-html-native",
|
|
555
|
+
"role": "figure",
|
|
556
|
+
"description": "A native <figure><figcaption> with no explicit aria-labelledby — the figcaption's text folds into the figure's own description (HTML-AAM implicit name), and the figcaption is not spoken as a separate child. Contrast with figure-caption-html-native, which has an explicit aria-labelledby pointing at the same figcaption.",
|
|
557
|
+
"files": {
|
|
558
|
+
"input": "input.html",
|
|
559
|
+
"gnd": "gnd.json"
|
|
560
|
+
}
|
|
561
|
+
},
|
|
562
|
+
{
|
|
563
|
+
"id": "figure-caption-element-role-aria",
|
|
564
|
+
"dir": "figure-caption-element-role-aria",
|
|
565
|
+
"role": "figure",
|
|
566
|
+
"description": "A role=\"figure\" with a role=\"caption\" child and no explicit aria-labelledby — the caption's text folds into the figure's own description, same as the native <figcaption> case, and isn't spoken as a separate child.",
|
|
567
|
+
"files": {
|
|
568
|
+
"input": "input.html",
|
|
569
|
+
"gnd": "gnd.json"
|
|
570
|
+
}
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
"id": "figure-caption-html-native",
|
|
574
|
+
"dir": "figure-caption-html-native",
|
|
575
|
+
"role": "figure",
|
|
576
|
+
"description": "A figure with a <pre> body and a <figcaption>, via native <figure>",
|
|
577
|
+
"files": {
|
|
578
|
+
"input": "input.html",
|
|
579
|
+
"gnd": "gnd.json"
|
|
580
|
+
}
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
"id": "figure-caption-role-aria",
|
|
584
|
+
"dir": "figure-caption-role-aria",
|
|
585
|
+
"role": "figure",
|
|
586
|
+
"description": "A figure with a <pre> body and a <figcaption>, via explicit role=\"figure\"",
|
|
587
|
+
"files": {
|
|
588
|
+
"input": "input.html",
|
|
589
|
+
"gnd": "gnd.json"
|
|
590
|
+
}
|
|
591
|
+
},
|
|
592
|
+
{
|
|
593
|
+
"id": "figure-credit-nested-in-aria-labelledby-caption",
|
|
594
|
+
"dir": "figure-credit-nested-in-aria-labelledby-caption",
|
|
595
|
+
"role": "figure",
|
|
596
|
+
"description": "A figure labelled via aria-labelledby pointing at a figcaption whose credit is nested inside it as a role=\"doc-credit\" span",
|
|
597
|
+
"files": {
|
|
598
|
+
"input": "input.html",
|
|
599
|
+
"gnd": "gnd.json"
|
|
600
|
+
}
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
"id": "figure-credit-nested-in-caption",
|
|
604
|
+
"dir": "figure-credit-nested-in-caption",
|
|
605
|
+
"role": "figure",
|
|
606
|
+
"description": "A figure with an implicit (figcaption) caption whose credit is nested inside it as a role=\"doc-credit\" span, rather than a sibling",
|
|
607
|
+
"files": {
|
|
608
|
+
"input": "input.html",
|
|
609
|
+
"gnd": "gnd.json"
|
|
610
|
+
}
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
"id": "figure-credit-role-aria",
|
|
614
|
+
"dir": "figure-credit-role-aria",
|
|
615
|
+
"role": "figure",
|
|
616
|
+
"description": "A figure with an implicit (figcaption) caption and a sibling credit line, via explicit ARIA role=\"doc-credit\" on a <p>",
|
|
617
|
+
"files": {
|
|
618
|
+
"input": "input.html",
|
|
619
|
+
"gnd": "gnd.json"
|
|
620
|
+
}
|
|
621
|
+
},
|
|
622
|
+
{
|
|
623
|
+
"id": "figure-describedby",
|
|
624
|
+
"dir": "figure-describedby",
|
|
625
|
+
"role": "figure",
|
|
626
|
+
"description": "A figure whose extended description comes from aria-describedby rather than a visible caption — an extension beyond the read-aloud examples doc, which only documents figcaption/aria-labelledby",
|
|
627
|
+
"files": {
|
|
628
|
+
"input": "input.html",
|
|
629
|
+
"gnd": "gnd.json"
|
|
630
|
+
}
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
"id": "figure-epub-type",
|
|
634
|
+
"dir": "figure-epub-type",
|
|
635
|
+
"role": "figure",
|
|
636
|
+
"description": "figure role via epub:type=\"figure\" on a neutral <div> (isolating the epub:type code path from the native <figure> tag mapping), containing an image — the only encoding of this role previously untested",
|
|
637
|
+
"files": {
|
|
638
|
+
"input": "input.xhtml",
|
|
639
|
+
"gnd": "gnd.json"
|
|
640
|
+
}
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
"id": "figure-no-description",
|
|
644
|
+
"dir": "figure-no-description",
|
|
645
|
+
"role": "figure",
|
|
646
|
+
"description": "A figure with no accessible name of its own, containing an image that also has no accessible name of its own — the figure's own announcement has nothing to say (no caption/label anywhere), unlike figure-basic-* where the child image still carries a label",
|
|
647
|
+
"files": {
|
|
648
|
+
"input": "input.html",
|
|
649
|
+
"gnd": "gnd.json"
|
|
650
|
+
}
|
|
651
|
+
},
|
|
652
|
+
{
|
|
653
|
+
"id": "footnote-epub-type",
|
|
654
|
+
"dir": "footnote-epub-type",
|
|
655
|
+
"role": "footnote",
|
|
656
|
+
"description": "A paragraph with one footnote reference and its footnote content, via epub:type",
|
|
657
|
+
"files": {
|
|
658
|
+
"input": "input.xhtml",
|
|
659
|
+
"gnd": "gnd.json"
|
|
660
|
+
}
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
"id": "footnote-role-aria",
|
|
664
|
+
"dir": "footnote-role-aria",
|
|
665
|
+
"role": "footnote",
|
|
666
|
+
"description": "A paragraph with one footnote reference and its footnote content, including the backlink back to the reference, via explicit ARIA roles",
|
|
667
|
+
"files": {
|
|
668
|
+
"input": "input.html",
|
|
669
|
+
"gnd": "gnd.json"
|
|
670
|
+
}
|
|
671
|
+
},
|
|
672
|
+
{
|
|
673
|
+
"id": "foreword-epub-type",
|
|
674
|
+
"dir": "foreword-epub-type",
|
|
675
|
+
"role": "foreword",
|
|
676
|
+
"description": "foreword role via epub:type=\"foreword\"",
|
|
677
|
+
"files": {
|
|
678
|
+
"input": "input.xhtml",
|
|
679
|
+
"gnd": "gnd.json"
|
|
680
|
+
}
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
"id": "foreword-role-aria",
|
|
684
|
+
"dir": "foreword-role-aria",
|
|
685
|
+
"role": "foreword",
|
|
686
|
+
"description": "foreword role via explicit ARIA role=\"doc-foreword\"",
|
|
687
|
+
"files": {
|
|
688
|
+
"input": "input.html",
|
|
689
|
+
"gnd": "gnd.json"
|
|
690
|
+
}
|
|
691
|
+
},
|
|
692
|
+
{
|
|
693
|
+
"id": "glossary-epub-type",
|
|
694
|
+
"dir": "glossary-epub-type",
|
|
695
|
+
"role": "glossary",
|
|
696
|
+
"description": "A glossary of term/definition entries via epub:type=\"glossary\" on a <dl>, with term/definition as its directly owned elements",
|
|
697
|
+
"files": {
|
|
698
|
+
"input": "input.xhtml",
|
|
699
|
+
"gnd": "gnd.json"
|
|
700
|
+
}
|
|
701
|
+
},
|
|
702
|
+
{
|
|
703
|
+
"id": "glossary-role-aria",
|
|
704
|
+
"dir": "glossary-role-aria",
|
|
705
|
+
"role": "glossary",
|
|
706
|
+
"description": "A glossary of term/definition entries via explicit ARIA role=\"doc-glossary\" on a <dl>, with each term wrapped in <dfn id=\"...\"> so a doc-glossref can target it, matching the spec's own worked example",
|
|
707
|
+
"files": {
|
|
708
|
+
"input": "input.html",
|
|
709
|
+
"gnd": "gnd.json"
|
|
710
|
+
}
|
|
711
|
+
},
|
|
712
|
+
{
|
|
713
|
+
"id": "glossref-epub-type",
|
|
714
|
+
"dir": "glossref-epub-type",
|
|
715
|
+
"role": "glossref",
|
|
716
|
+
"description": "glossref role via epub:type=\"glossref\" on an <a href>",
|
|
717
|
+
"files": {
|
|
718
|
+
"input": "input.xhtml",
|
|
719
|
+
"gnd": "gnd.json"
|
|
720
|
+
}
|
|
721
|
+
},
|
|
722
|
+
{
|
|
723
|
+
"id": "glossref-role-aria",
|
|
724
|
+
"dir": "glossref-role-aria",
|
|
725
|
+
"role": "glossref",
|
|
726
|
+
"description": "glossref role via explicit ARIA role=\"doc-glossref\" on an <a href>",
|
|
727
|
+
"files": {
|
|
728
|
+
"input": "input.html",
|
|
729
|
+
"gnd": "gnd.json"
|
|
730
|
+
}
|
|
731
|
+
},
|
|
732
|
+
{
|
|
733
|
+
"id": "glossref-role-aria-mid-sentence",
|
|
734
|
+
"dir": "glossref-role-aria-mid-sentence",
|
|
735
|
+
"role": "glossref",
|
|
736
|
+
"description": "Two glossref links mid-sentence (not the sole content of their block), via explicit ARIA role=\"doc-glossref\" on <a href>",
|
|
737
|
+
"files": {
|
|
738
|
+
"input": "input.html",
|
|
739
|
+
"gnd": "gnd.json"
|
|
740
|
+
}
|
|
741
|
+
},
|
|
742
|
+
{
|
|
743
|
+
"id": "header-html-native",
|
|
744
|
+
"dir": "header-html-native",
|
|
745
|
+
"role": "header",
|
|
746
|
+
"description": "header role via native <header> element",
|
|
747
|
+
"files": {
|
|
748
|
+
"input": "input.html",
|
|
749
|
+
"gnd": "gnd.json"
|
|
750
|
+
}
|
|
751
|
+
},
|
|
752
|
+
{
|
|
753
|
+
"id": "heading-html-native",
|
|
754
|
+
"dir": "heading-html-native",
|
|
755
|
+
"role": "heading",
|
|
756
|
+
"description": "heading1 through heading6 via native <h1>-<h6> elements (bundled: same pathway, repeated depth)",
|
|
757
|
+
"files": {
|
|
758
|
+
"input": "input.html",
|
|
759
|
+
"gnd": "gnd.json"
|
|
760
|
+
}
|
|
761
|
+
},
|
|
762
|
+
{
|
|
763
|
+
"id": "heading-role-aria",
|
|
764
|
+
"dir": "heading-role-aria",
|
|
765
|
+
"role": "heading",
|
|
766
|
+
"description": "heading1 through heading6 via role=\"heading\" + aria-level (bundled: same pathway, repeated depth)",
|
|
767
|
+
"files": {
|
|
768
|
+
"input": "input.html",
|
|
769
|
+
"gnd": "gnd.json"
|
|
770
|
+
}
|
|
771
|
+
},
|
|
772
|
+
{
|
|
773
|
+
"id": "heading-role-presentation",
|
|
774
|
+
"dir": "heading-role-presentation",
|
|
775
|
+
"role": "presentation",
|
|
776
|
+
"description": "An <h2> with role=\"presentation\", stripping its native heading semantics — the resulting node carries only the presentation role, no heading2, so no \"Heading level 2.\" announcement or heading block-boundary fires, though its text still reads normally",
|
|
777
|
+
"files": {
|
|
778
|
+
"input": "input.html",
|
|
779
|
+
"gnd": "gnd.json"
|
|
780
|
+
}
|
|
781
|
+
},
|
|
782
|
+
{
|
|
783
|
+
"id": "hidden-aria-hidden-html-native",
|
|
784
|
+
"dir": "hidden-aria-hidden-html-native",
|
|
785
|
+
"role": "presentation",
|
|
786
|
+
"description": "An element marked aria-hidden=\"true\" is excluded from the GND tree entirely, producing no node and no utterance",
|
|
787
|
+
"files": {
|
|
788
|
+
"input": "input.html",
|
|
789
|
+
"gnd": "gnd.json"
|
|
790
|
+
}
|
|
791
|
+
},
|
|
792
|
+
{
|
|
793
|
+
"id": "hidden-attribute-html-native",
|
|
794
|
+
"dir": "hidden-attribute-html-native",
|
|
795
|
+
"role": "presentation",
|
|
796
|
+
"description": "An element marked with the native hidden attribute is excluded from the GND tree entirely, producing no node and no utterance",
|
|
797
|
+
"files": {
|
|
798
|
+
"input": "input.html",
|
|
799
|
+
"gnd": "gnd.json"
|
|
800
|
+
}
|
|
801
|
+
},
|
|
802
|
+
{
|
|
803
|
+
"id": "image-alt-html-native",
|
|
804
|
+
"dir": "image-alt-html-native",
|
|
805
|
+
"role": "image",
|
|
806
|
+
"description": "An image with alt text via native <img alt>",
|
|
807
|
+
"files": {
|
|
808
|
+
"input": "input.html",
|
|
809
|
+
"gnd": "gnd.json"
|
|
810
|
+
}
|
|
811
|
+
},
|
|
812
|
+
{
|
|
813
|
+
"id": "image-decorative-empty-alt",
|
|
814
|
+
"dir": "image-decorative-empty-alt",
|
|
815
|
+
"role": "presentation",
|
|
816
|
+
"description": "A decorative image with empty alt, mapping to the presentation role and producing no utterance",
|
|
817
|
+
"files": {
|
|
818
|
+
"input": "input.html",
|
|
819
|
+
"gnd": "gnd.json"
|
|
820
|
+
}
|
|
821
|
+
},
|
|
822
|
+
{
|
|
823
|
+
"id": "image-decorative-role-presentation",
|
|
824
|
+
"dir": "image-decorative-role-presentation",
|
|
825
|
+
"role": "presentation",
|
|
826
|
+
"description": "A decorative image marked with an explicit role=\"presentation\", producing no utterance",
|
|
827
|
+
"files": {
|
|
828
|
+
"input": "input.html",
|
|
829
|
+
"gnd": "gnd.json"
|
|
830
|
+
}
|
|
831
|
+
},
|
|
832
|
+
{
|
|
833
|
+
"id": "image-decorative-whitespace-alt",
|
|
834
|
+
"dir": "image-decorative-whitespace-alt",
|
|
835
|
+
"role": "presentation",
|
|
836
|
+
"description": "A decorative image with a whitespace-only alt (not literally empty), still mapping to the presentation role and producing no utterance — exercises the trim() in the decorative-image check rather than a literal empty-string comparison",
|
|
837
|
+
"files": {
|
|
838
|
+
"input": "input.html",
|
|
839
|
+
"gnd": "gnd.json"
|
|
840
|
+
}
|
|
841
|
+
},
|
|
842
|
+
{
|
|
843
|
+
"id": "image-no-description",
|
|
844
|
+
"dir": "image-no-description",
|
|
845
|
+
"role": "image",
|
|
846
|
+
"description": "An <img> with no alt attribute at all and no other accessible-name source — distinct from a decorative image (empty alt or role=\"presentation\"), which maps to the presentation role instead",
|
|
847
|
+
"files": {
|
|
848
|
+
"input": "input.html",
|
|
849
|
+
"gnd": "gnd.json"
|
|
850
|
+
}
|
|
851
|
+
},
|
|
852
|
+
{
|
|
853
|
+
"id": "image-role-aria",
|
|
854
|
+
"dir": "image-role-aria",
|
|
855
|
+
"role": "image",
|
|
856
|
+
"description": "A non-<img> element acting as an image via role=\"img\" and aria-label",
|
|
857
|
+
"files": {
|
|
858
|
+
"input": "input.html",
|
|
859
|
+
"gnd": "gnd.json"
|
|
860
|
+
}
|
|
861
|
+
},
|
|
862
|
+
{
|
|
863
|
+
"id": "index-epub-type",
|
|
864
|
+
"dir": "index-epub-type",
|
|
865
|
+
"role": "index",
|
|
866
|
+
"description": "An index navigation list, containing links to key subjects and names, via epub:type",
|
|
867
|
+
"files": {
|
|
868
|
+
"input": "input.xhtml",
|
|
869
|
+
"gnd": "gnd.json"
|
|
870
|
+
}
|
|
871
|
+
},
|
|
872
|
+
{
|
|
873
|
+
"id": "index-role-aria",
|
|
874
|
+
"dir": "index-role-aria",
|
|
875
|
+
"role": "index",
|
|
876
|
+
"description": "An index navigation list, containing links to key subjects and names, via explicit ARIA role",
|
|
877
|
+
"files": {
|
|
878
|
+
"input": "input.html",
|
|
879
|
+
"gnd": "gnd.json"
|
|
880
|
+
}
|
|
881
|
+
},
|
|
882
|
+
{
|
|
883
|
+
"id": "introduction-epub-type",
|
|
884
|
+
"dir": "introduction-epub-type",
|
|
885
|
+
"role": "introduction",
|
|
886
|
+
"description": "introduction role via epub:type=\"introduction\"",
|
|
887
|
+
"files": {
|
|
888
|
+
"input": "input.xhtml",
|
|
889
|
+
"gnd": "gnd.json"
|
|
890
|
+
}
|
|
891
|
+
},
|
|
892
|
+
{
|
|
893
|
+
"id": "introduction-role-aria",
|
|
894
|
+
"dir": "introduction-role-aria",
|
|
895
|
+
"role": "introduction",
|
|
896
|
+
"description": "introduction role via explicit ARIA role=\"doc-introduction\"",
|
|
897
|
+
"files": {
|
|
898
|
+
"input": "input.html",
|
|
899
|
+
"gnd": "gnd.json"
|
|
900
|
+
}
|
|
901
|
+
},
|
|
902
|
+
{
|
|
903
|
+
"id": "landmarks-epub-type",
|
|
904
|
+
"dir": "landmarks-epub-type",
|
|
905
|
+
"role": "landmarks",
|
|
906
|
+
"description": "A landmarks navigation list, containing links to the cover, table of contents, and start of content",
|
|
907
|
+
"files": {
|
|
908
|
+
"input": "input.xhtml",
|
|
909
|
+
"gnd": "gnd.json"
|
|
910
|
+
}
|
|
911
|
+
},
|
|
912
|
+
{
|
|
913
|
+
"id": "language-block",
|
|
914
|
+
"dir": "language-block",
|
|
915
|
+
"role": "language",
|
|
916
|
+
"description": "Sibling paragraphs each declaring their own language, overriding the document's default",
|
|
917
|
+
"files": {
|
|
918
|
+
"input": "input.html",
|
|
919
|
+
"gnd": "gnd.json"
|
|
920
|
+
}
|
|
921
|
+
},
|
|
922
|
+
{
|
|
923
|
+
"id": "language-document",
|
|
924
|
+
"dir": "language-document",
|
|
925
|
+
"role": "language",
|
|
926
|
+
"description": "A paragraph in a document whose <html lang> differs from the default, with no inline language shift or other SSML trigger",
|
|
927
|
+
"files": {
|
|
928
|
+
"input": "input.html",
|
|
929
|
+
"gnd": "gnd.json"
|
|
930
|
+
}
|
|
931
|
+
},
|
|
932
|
+
{
|
|
933
|
+
"id": "language-inline-lang-attribute",
|
|
934
|
+
"dir": "language-inline-lang-attribute",
|
|
935
|
+
"role": "language",
|
|
936
|
+
"description": "An inline foreign-language phrase using the HTML lang attribute (not xml:lang) on a plain, non-semantic span",
|
|
937
|
+
"files": {
|
|
938
|
+
"input": "input.html",
|
|
939
|
+
"gnd": "gnd.json"
|
|
940
|
+
}
|
|
941
|
+
},
|
|
942
|
+
{
|
|
943
|
+
"id": "language-inline-nested",
|
|
944
|
+
"dir": "language-inline-nested",
|
|
945
|
+
"role": "language",
|
|
946
|
+
"description": "A paragraph with a language switch nested inside another language switch",
|
|
947
|
+
"files": {
|
|
948
|
+
"input": "input.html",
|
|
949
|
+
"gnd": "gnd.json"
|
|
950
|
+
}
|
|
951
|
+
},
|
|
952
|
+
{
|
|
953
|
+
"id": "language-inline-repeated",
|
|
954
|
+
"dir": "language-inline-repeated",
|
|
955
|
+
"role": "language",
|
|
956
|
+
"description": "A paragraph where the same foreign language appears twice, separated by base-language text",
|
|
957
|
+
"files": {
|
|
958
|
+
"input": "input.html",
|
|
959
|
+
"gnd": "gnd.json"
|
|
960
|
+
}
|
|
961
|
+
},
|
|
962
|
+
{
|
|
963
|
+
"id": "language-inline-two-languages",
|
|
964
|
+
"dir": "language-inline-two-languages",
|
|
965
|
+
"role": "language",
|
|
966
|
+
"description": "A paragraph with two different inline foreign-language phrases",
|
|
967
|
+
"files": {
|
|
968
|
+
"input": "input.html",
|
|
969
|
+
"gnd": "gnd.json"
|
|
970
|
+
}
|
|
971
|
+
},
|
|
972
|
+
{
|
|
973
|
+
"id": "list-aria-posinset-setsize",
|
|
974
|
+
"dir": "list-aria-posinset-setsize",
|
|
975
|
+
"role": "list",
|
|
976
|
+
"description": "An ARIA listitem with explicit aria-posinset/aria-setsize (for lists that don't expose their full membership in the DOM, e.g. paginated or virtualized ones) — neither attribute is read anywhere in the converter. Per ARIA semantics these should take precedence over any DOM-computed position/count when present, which a future position-numbering implementation needs to account for, not just count DOM siblings",
|
|
977
|
+
"files": {
|
|
978
|
+
"input": "input.html",
|
|
979
|
+
"gnd": "gnd.json"
|
|
980
|
+
}
|
|
981
|
+
},
|
|
982
|
+
{
|
|
983
|
+
"id": "list-epub-type",
|
|
984
|
+
"dir": "list-epub-type",
|
|
985
|
+
"role": "list",
|
|
986
|
+
"description": "list role via epub:type=\"list\" on neutral <div> elements (isolating the epub:type code path from the native <ul>/<ol> tag mapping), with epub:type=\"list-item\" children — the only encoding of this role previously untested; every other list fixture (including pagelist-epub-type, which nests a plain native <ol>) exercises the list role via the native tag, never epub:type",
|
|
987
|
+
"files": {
|
|
988
|
+
"input": "input.xhtml",
|
|
989
|
+
"gnd": "gnd.json"
|
|
990
|
+
}
|
|
991
|
+
},
|
|
992
|
+
{
|
|
993
|
+
"id": "list-html-native",
|
|
994
|
+
"dir": "list-html-native",
|
|
995
|
+
"role": "list",
|
|
996
|
+
"description": "An unordered list via native <ul>/<li> elements",
|
|
997
|
+
"files": {
|
|
998
|
+
"input": "input.html",
|
|
999
|
+
"gnd": "gnd.json"
|
|
1000
|
+
}
|
|
1001
|
+
},
|
|
1002
|
+
{
|
|
1003
|
+
"id": "list-item-posinset-override",
|
|
1004
|
+
"dir": "list-item-posinset-override",
|
|
1005
|
+
"role": "list",
|
|
1006
|
+
"description": "A native <ol>/<li> where the second <li> carries aria-posinset — it overrides only that item's own baked ordinal; the native counting chain for its siblings continues unaffected (per WAI-ARIA's aria-posinset semantics, meant for lists that don't expose their full membership in the DOM), so the third item stays 3, not 100",
|
|
1007
|
+
"files": {
|
|
1008
|
+
"input": "input.html",
|
|
1009
|
+
"gnd": "gnd.json"
|
|
1010
|
+
}
|
|
1011
|
+
},
|
|
1012
|
+
{
|
|
1013
|
+
"id": "list-item-value-override",
|
|
1014
|
+
"dir": "list-item-value-override",
|
|
1015
|
+
"role": "list",
|
|
1016
|
+
"description": "An <ol> whose second <li value=\"10\"> resets the running count, so the baked ordinal for the third item is 11, not 3 — HTML's <li value> semantics persist to every following sibling until overridden again",
|
|
1017
|
+
"files": {
|
|
1018
|
+
"input": "input.html",
|
|
1019
|
+
"gnd": "gnd.json"
|
|
1020
|
+
}
|
|
1021
|
+
},
|
|
1022
|
+
{
|
|
1023
|
+
"id": "list-ordered-html-native",
|
|
1024
|
+
"dir": "list-ordered-html-native",
|
|
1025
|
+
"role": "list",
|
|
1026
|
+
"description": "A plain native <ol> with no start/reversed — produces the exact same GND shape as list-html-native's <ul> (both map to a bare \"list\" role via simpleElementTypeRoles, with no ordered/unordered distinction preserved anywhere in the schema). This is the baseline that any future listItem position-numbering feature has to solve first: whether to speak a number at all depends on knowing the list was ordered, which the GND format currently cannot express",
|
|
1027
|
+
"files": {
|
|
1028
|
+
"input": "input.html",
|
|
1029
|
+
"gnd": "gnd.json"
|
|
1030
|
+
}
|
|
1031
|
+
},
|
|
1032
|
+
{
|
|
1033
|
+
"id": "list-ordered-reversed",
|
|
1034
|
+
"dir": "list-ordered-reversed",
|
|
1035
|
+
"role": "list",
|
|
1036
|
+
"description": "An <ol reversed> — the baked ordinal counts down from the list's length instead of counting up from 1",
|
|
1037
|
+
"files": {
|
|
1038
|
+
"input": "input.html",
|
|
1039
|
+
"gnd": "gnd.json"
|
|
1040
|
+
}
|
|
1041
|
+
},
|
|
1042
|
+
{
|
|
1043
|
+
"id": "list-ordered-start",
|
|
1044
|
+
"dir": "list-ordered-start",
|
|
1045
|
+
"role": "list",
|
|
1046
|
+
"description": "An <ol start=\"5\"> — the start attribute shifts the baked ordinal for every item, not just the first",
|
|
1047
|
+
"files": {
|
|
1048
|
+
"input": "input.html",
|
|
1049
|
+
"gnd": "gnd.json"
|
|
1050
|
+
}
|
|
1051
|
+
},
|
|
1052
|
+
{
|
|
1053
|
+
"id": "list-role-aria",
|
|
1054
|
+
"dir": "list-role-aria",
|
|
1055
|
+
"role": "list",
|
|
1056
|
+
"description": "An unordered list via explicit role=\"list\"/\"listitem\"",
|
|
1057
|
+
"files": {
|
|
1058
|
+
"input": "input.html",
|
|
1059
|
+
"gnd": "gnd.json"
|
|
1060
|
+
}
|
|
1061
|
+
},
|
|
1062
|
+
{
|
|
1063
|
+
"id": "listitem-role-presentation",
|
|
1064
|
+
"dir": "listitem-role-presentation",
|
|
1065
|
+
"role": "presentation",
|
|
1066
|
+
"description": "A <li> with role=\"presentation\", stripping its native listItem semantics while its sibling item keeps normal listItem behavior",
|
|
1067
|
+
"files": {
|
|
1068
|
+
"input": "input.html",
|
|
1069
|
+
"gnd": "gnd.json"
|
|
1070
|
+
}
|
|
1071
|
+
},
|
|
1072
|
+
{
|
|
1073
|
+
"id": "loa-epub-type",
|
|
1074
|
+
"dir": "loa-epub-type",
|
|
1075
|
+
"role": "loa",
|
|
1076
|
+
"description": "A list-of-audio-clips navigation list, containing links to audio clips in the work",
|
|
1077
|
+
"files": {
|
|
1078
|
+
"input": "input.xhtml",
|
|
1079
|
+
"gnd": "gnd.json"
|
|
1080
|
+
}
|
|
1081
|
+
},
|
|
1082
|
+
{
|
|
1083
|
+
"id": "loi-epub-type",
|
|
1084
|
+
"dir": "loi-epub-type",
|
|
1085
|
+
"role": "loi",
|
|
1086
|
+
"description": "A list-of-illustrations navigation list, containing links to illustrations in the work",
|
|
1087
|
+
"files": {
|
|
1088
|
+
"input": "input.xhtml",
|
|
1089
|
+
"gnd": "gnd.json"
|
|
1090
|
+
}
|
|
1091
|
+
},
|
|
1092
|
+
{
|
|
1093
|
+
"id": "lot-epub-type",
|
|
1094
|
+
"dir": "lot-epub-type",
|
|
1095
|
+
"role": "lot",
|
|
1096
|
+
"description": "A list-of-tables navigation list, containing links to tables in the work",
|
|
1097
|
+
"files": {
|
|
1098
|
+
"input": "input.xhtml",
|
|
1099
|
+
"gnd": "gnd.json"
|
|
1100
|
+
}
|
|
1101
|
+
},
|
|
1102
|
+
{
|
|
1103
|
+
"id": "lov-epub-type",
|
|
1104
|
+
"dir": "lov-epub-type",
|
|
1105
|
+
"role": "lov",
|
|
1106
|
+
"description": "A list-of-video-clips navigation list, containing links to video clips in the work",
|
|
1107
|
+
"files": {
|
|
1108
|
+
"input": "input.xhtml",
|
|
1109
|
+
"gnd": "gnd.json"
|
|
1110
|
+
}
|
|
1111
|
+
},
|
|
1112
|
+
{
|
|
1113
|
+
"id": "main-html-native",
|
|
1114
|
+
"dir": "main-html-native",
|
|
1115
|
+
"role": "main",
|
|
1116
|
+
"description": "main role via native <main> element",
|
|
1117
|
+
"files": {
|
|
1118
|
+
"input": "input.html",
|
|
1119
|
+
"gnd": "gnd.json"
|
|
1120
|
+
}
|
|
1121
|
+
},
|
|
1122
|
+
{
|
|
1123
|
+
"id": "main-role-aria",
|
|
1124
|
+
"dir": "main-role-aria",
|
|
1125
|
+
"role": "main",
|
|
1126
|
+
"description": "main role via explicit ARIA role=\"main\"",
|
|
1127
|
+
"files": {
|
|
1128
|
+
"input": "input.html",
|
|
1129
|
+
"gnd": "gnd.json"
|
|
1130
|
+
}
|
|
1131
|
+
},
|
|
1132
|
+
{
|
|
1133
|
+
"id": "math-html-native",
|
|
1134
|
+
"dir": "math-html-native",
|
|
1135
|
+
"role": "math",
|
|
1136
|
+
"description": "math role via native MathML <math> markup, with a spoken-form description for read-aloud",
|
|
1137
|
+
"files": {
|
|
1138
|
+
"input": "input.html",
|
|
1139
|
+
"gnd": "gnd.json"
|
|
1140
|
+
}
|
|
1141
|
+
},
|
|
1142
|
+
{
|
|
1143
|
+
"id": "math-no-description",
|
|
1144
|
+
"dir": "math-no-description",
|
|
1145
|
+
"role": "math",
|
|
1146
|
+
"description": "math role via native MathML <math> markup, with no alttext/aria-label and non-trivial children — no spoken-form description available for read-aloud",
|
|
1147
|
+
"files": {
|
|
1148
|
+
"input": "input.html",
|
|
1149
|
+
"gnd": "gnd.json"
|
|
1150
|
+
}
|
|
1151
|
+
},
|
|
1152
|
+
{
|
|
1153
|
+
"id": "math-role-aria",
|
|
1154
|
+
"dir": "math-role-aria",
|
|
1155
|
+
"role": "math",
|
|
1156
|
+
"description": "math role via explicit ARIA role=\"math\" on a rendered formula, with an aria-label carrying the spoken form for read-aloud",
|
|
1157
|
+
"files": {
|
|
1158
|
+
"input": "input.html",
|
|
1159
|
+
"gnd": "gnd.json"
|
|
1160
|
+
}
|
|
1161
|
+
},
|
|
1162
|
+
{
|
|
1163
|
+
"id": "navigation-html-native",
|
|
1164
|
+
"dir": "navigation-html-native",
|
|
1165
|
+
"role": "navigation",
|
|
1166
|
+
"description": "navigation role via native <nav> element",
|
|
1167
|
+
"files": {
|
|
1168
|
+
"input": "input.html",
|
|
1169
|
+
"gnd": "gnd.json"
|
|
1170
|
+
}
|
|
1171
|
+
},
|
|
1172
|
+
{
|
|
1173
|
+
"id": "navigation-role-aria",
|
|
1174
|
+
"dir": "navigation-role-aria",
|
|
1175
|
+
"role": "navigation",
|
|
1176
|
+
"description": "navigation role via explicit ARIA role=\"navigation\"",
|
|
1177
|
+
"files": {
|
|
1178
|
+
"input": "input.html",
|
|
1179
|
+
"gnd": "gnd.json"
|
|
1180
|
+
}
|
|
1181
|
+
},
|
|
1182
|
+
{
|
|
1183
|
+
"id": "noteref-role-aria",
|
|
1184
|
+
"dir": "noteref-role-aria",
|
|
1185
|
+
"role": "noteref",
|
|
1186
|
+
"description": "A standalone noteref link, via explicit ARIA role=\"doc-noteref\", with no resolvable footnote/endnote target",
|
|
1187
|
+
"files": {
|
|
1188
|
+
"input": "input.html",
|
|
1189
|
+
"gnd": "gnd.json"
|
|
1190
|
+
}
|
|
1191
|
+
},
|
|
1192
|
+
{
|
|
1193
|
+
"id": "noteref-target-in-endnotes-epub-type",
|
|
1194
|
+
"dir": "noteref-target-in-endnotes-epub-type",
|
|
1195
|
+
"role": "footnote",
|
|
1196
|
+
"description": "A noteref's target footnote, nested inside an endnotes section via epub:type, still appears at its own location (unlike a footnote outside any endnotes section, which is suppressed there since a noteref already embeds it inline)",
|
|
1197
|
+
"files": {
|
|
1198
|
+
"input": "input.xhtml",
|
|
1199
|
+
"gnd": "gnd.json"
|
|
1200
|
+
}
|
|
1201
|
+
},
|
|
1202
|
+
{
|
|
1203
|
+
"id": "noteref-target-in-endnotes-role-aria",
|
|
1204
|
+
"dir": "noteref-target-in-endnotes-role-aria",
|
|
1205
|
+
"role": "footnote",
|
|
1206
|
+
"description": "A noteref's target footnote, nested inside an endnotes section via explicit ARIA roles, still appears at its own location (unlike a footnote outside any endnotes section, which is suppressed there since a noteref already embeds it inline)",
|
|
1207
|
+
"files": {
|
|
1208
|
+
"input": "input.html",
|
|
1209
|
+
"gnd": "gnd.json"
|
|
1210
|
+
}
|
|
1211
|
+
},
|
|
1212
|
+
{
|
|
1213
|
+
"id": "notice-epub-type",
|
|
1214
|
+
"dir": "notice-epub-type",
|
|
1215
|
+
"role": "notice",
|
|
1216
|
+
"description": "notice role via epub:type=\"notice\"",
|
|
1217
|
+
"files": {
|
|
1218
|
+
"input": "input.xhtml",
|
|
1219
|
+
"gnd": "gnd.json"
|
|
1220
|
+
}
|
|
1221
|
+
},
|
|
1222
|
+
{
|
|
1223
|
+
"id": "notice-role-aria",
|
|
1224
|
+
"dir": "notice-role-aria",
|
|
1225
|
+
"role": "notice",
|
|
1226
|
+
"description": "notice role via explicit ARIA role=\"doc-notice\"",
|
|
1227
|
+
"files": {
|
|
1228
|
+
"input": "input.html",
|
|
1229
|
+
"gnd": "gnd.json"
|
|
1230
|
+
}
|
|
1231
|
+
},
|
|
1232
|
+
{
|
|
1233
|
+
"id": "pagebreak-epub-type",
|
|
1234
|
+
"dir": "pagebreak-epub-type",
|
|
1235
|
+
"role": "pagebreak",
|
|
1236
|
+
"description": "A standalone pagebreak and one falling in the middle of a sentence, via epub:type=\"pagebreak\"",
|
|
1237
|
+
"files": {
|
|
1238
|
+
"input": "input.xhtml",
|
|
1239
|
+
"gnd": "gnd.json"
|
|
1240
|
+
}
|
|
1241
|
+
},
|
|
1242
|
+
{
|
|
1243
|
+
"id": "pagebreak-role-aria",
|
|
1244
|
+
"dir": "pagebreak-role-aria",
|
|
1245
|
+
"role": "pagebreak",
|
|
1246
|
+
"description": "A standalone pagebreak and one falling in the middle of a sentence, via role=\"doc-pagebreak\"",
|
|
1247
|
+
"files": {
|
|
1248
|
+
"input": "input.html",
|
|
1249
|
+
"gnd": "gnd.json"
|
|
1250
|
+
}
|
|
1251
|
+
},
|
|
1252
|
+
{
|
|
1253
|
+
"id": "pagelist-epub-type",
|
|
1254
|
+
"dir": "pagelist-epub-type",
|
|
1255
|
+
"role": "pagelist",
|
|
1256
|
+
"description": "A page-list navigation list, containing links to pagebreaks, via epub:type",
|
|
1257
|
+
"files": {
|
|
1258
|
+
"input": "input.xhtml",
|
|
1259
|
+
"gnd": "gnd.json"
|
|
1260
|
+
}
|
|
1261
|
+
},
|
|
1262
|
+
{
|
|
1263
|
+
"id": "pagelist-role-aria",
|
|
1264
|
+
"dir": "pagelist-role-aria",
|
|
1265
|
+
"role": "pagelist",
|
|
1266
|
+
"description": "A page-list navigation list, containing links to pagebreaks, via explicit ARIA role",
|
|
1267
|
+
"files": {
|
|
1268
|
+
"input": "input.html",
|
|
1269
|
+
"gnd": "gnd.json"
|
|
1270
|
+
}
|
|
1271
|
+
},
|
|
1272
|
+
{
|
|
1273
|
+
"id": "paragraph-basic",
|
|
1274
|
+
"dir": "paragraph-basic",
|
|
1275
|
+
"role": "paragraph",
|
|
1276
|
+
"description": "A single paragraph, the only encoding pathway for this role",
|
|
1277
|
+
"files": {
|
|
1278
|
+
"input": "input.html",
|
|
1279
|
+
"gnd": "gnd.json"
|
|
1280
|
+
}
|
|
1281
|
+
},
|
|
1282
|
+
{
|
|
1283
|
+
"id": "part-epub-type",
|
|
1284
|
+
"dir": "part-epub-type",
|
|
1285
|
+
"role": "part",
|
|
1286
|
+
"description": "part role via epub:type=\"part\", containing a heading",
|
|
1287
|
+
"files": {
|
|
1288
|
+
"input": "input.xhtml",
|
|
1289
|
+
"gnd": "gnd.json"
|
|
1290
|
+
}
|
|
1291
|
+
},
|
|
1292
|
+
{
|
|
1293
|
+
"id": "part-role-aria",
|
|
1294
|
+
"dir": "part-role-aria",
|
|
1295
|
+
"role": "part",
|
|
1296
|
+
"description": "part role via explicit ARIA role=\"doc-part\", containing a heading",
|
|
1297
|
+
"files": {
|
|
1298
|
+
"input": "input.html",
|
|
1299
|
+
"gnd": "gnd.json"
|
|
1300
|
+
}
|
|
1301
|
+
},
|
|
1302
|
+
{
|
|
1303
|
+
"id": "preface-epub-type",
|
|
1304
|
+
"dir": "preface-epub-type",
|
|
1305
|
+
"role": "preface",
|
|
1306
|
+
"description": "preface role via epub:type=\"preface\"",
|
|
1307
|
+
"files": {
|
|
1308
|
+
"input": "input.xhtml",
|
|
1309
|
+
"gnd": "gnd.json"
|
|
1310
|
+
}
|
|
1311
|
+
},
|
|
1312
|
+
{
|
|
1313
|
+
"id": "preface-role-aria",
|
|
1314
|
+
"dir": "preface-role-aria",
|
|
1315
|
+
"role": "preface",
|
|
1316
|
+
"description": "preface role via explicit ARIA role=\"doc-preface\"",
|
|
1317
|
+
"files": {
|
|
1318
|
+
"input": "input.html",
|
|
1319
|
+
"gnd": "gnd.json"
|
|
1320
|
+
}
|
|
1321
|
+
},
|
|
1322
|
+
{
|
|
1323
|
+
"id": "preformatted-html-native",
|
|
1324
|
+
"dir": "preformatted-html-native",
|
|
1325
|
+
"role": "preformatted",
|
|
1326
|
+
"description": "preformatted role via native <pre> element",
|
|
1327
|
+
"files": {
|
|
1328
|
+
"input": "input.html",
|
|
1329
|
+
"gnd": "gnd.json"
|
|
1330
|
+
}
|
|
1331
|
+
},
|
|
1332
|
+
{
|
|
1333
|
+
"id": "presentation-role-aria",
|
|
1334
|
+
"dir": "presentation-role-aria",
|
|
1335
|
+
"role": "presentation",
|
|
1336
|
+
"description": "presentation role via explicit ARIA role=\"presentation\"",
|
|
1337
|
+
"files": {
|
|
1338
|
+
"input": "input.html",
|
|
1339
|
+
"gnd": "gnd.json"
|
|
1340
|
+
}
|
|
1341
|
+
},
|
|
1342
|
+
{
|
|
1343
|
+
"id": "prologue-epub-type",
|
|
1344
|
+
"dir": "prologue-epub-type",
|
|
1345
|
+
"role": "prologue",
|
|
1346
|
+
"description": "prologue role via epub:type=\"prologue\"",
|
|
1347
|
+
"files": {
|
|
1348
|
+
"input": "input.xhtml",
|
|
1349
|
+
"gnd": "gnd.json"
|
|
1350
|
+
}
|
|
1351
|
+
},
|
|
1352
|
+
{
|
|
1353
|
+
"id": "prologue-role-aria",
|
|
1354
|
+
"dir": "prologue-role-aria",
|
|
1355
|
+
"role": "prologue",
|
|
1356
|
+
"description": "prologue role via explicit ARIA role=\"doc-prologue\"",
|
|
1357
|
+
"files": {
|
|
1358
|
+
"input": "input.html",
|
|
1359
|
+
"gnd": "gnd.json"
|
|
1360
|
+
}
|
|
1361
|
+
},
|
|
1362
|
+
{
|
|
1363
|
+
"id": "pullquote-epub-type",
|
|
1364
|
+
"dir": "pullquote-epub-type",
|
|
1365
|
+
"role": "pullquote",
|
|
1366
|
+
"description": "pullquote role via epub:type=\"pullquote\" on an <aside>",
|
|
1367
|
+
"files": {
|
|
1368
|
+
"input": "input.xhtml",
|
|
1369
|
+
"gnd": "gnd.json"
|
|
1370
|
+
}
|
|
1371
|
+
},
|
|
1372
|
+
{
|
|
1373
|
+
"id": "pullquote-role-aria",
|
|
1374
|
+
"dir": "pullquote-role-aria",
|
|
1375
|
+
"role": "pullquote",
|
|
1376
|
+
"description": "pullquote role via explicit ARIA role=\"doc-pullquote\"",
|
|
1377
|
+
"files": {
|
|
1378
|
+
"input": "input.html",
|
|
1379
|
+
"gnd": "gnd.json"
|
|
1380
|
+
}
|
|
1381
|
+
},
|
|
1382
|
+
{
|
|
1383
|
+
"id": "qna-epub-type",
|
|
1384
|
+
"dir": "qna-epub-type",
|
|
1385
|
+
"role": "qna",
|
|
1386
|
+
"description": "qna role via epub:type=\"qna\" on a <section>",
|
|
1387
|
+
"files": {
|
|
1388
|
+
"input": "input.xhtml",
|
|
1389
|
+
"gnd": "gnd.json"
|
|
1390
|
+
}
|
|
1391
|
+
},
|
|
1392
|
+
{
|
|
1393
|
+
"id": "qna-role-aria",
|
|
1394
|
+
"dir": "qna-role-aria",
|
|
1395
|
+
"role": "qna",
|
|
1396
|
+
"description": "qna role via explicit ARIA role=\"doc-qna\"",
|
|
1397
|
+
"files": {
|
|
1398
|
+
"input": "input.html",
|
|
1399
|
+
"gnd": "gnd.json"
|
|
1400
|
+
}
|
|
1401
|
+
},
|
|
1402
|
+
{
|
|
1403
|
+
"id": "region-role-aria",
|
|
1404
|
+
"dir": "region-role-aria",
|
|
1405
|
+
"role": "region",
|
|
1406
|
+
"description": "region role via explicit ARIA role=\"region\"",
|
|
1407
|
+
"files": {
|
|
1408
|
+
"input": "input.html",
|
|
1409
|
+
"gnd": "gnd.json"
|
|
1410
|
+
}
|
|
1411
|
+
},
|
|
1412
|
+
{
|
|
1413
|
+
"id": "section-html-native",
|
|
1414
|
+
"dir": "section-html-native",
|
|
1415
|
+
"role": "section",
|
|
1416
|
+
"description": "section role via native <section> element with no more specific semantic",
|
|
1417
|
+
"files": {
|
|
1418
|
+
"input": "input.html",
|
|
1419
|
+
"gnd": "gnd.json"
|
|
1420
|
+
}
|
|
1421
|
+
},
|
|
1422
|
+
{
|
|
1423
|
+
"id": "separator-html-native",
|
|
1424
|
+
"dir": "separator-html-native",
|
|
1425
|
+
"role": "separator",
|
|
1426
|
+
"description": "separator role via native <hr> element; a purely visual divider with no read-aloud content",
|
|
1427
|
+
"files": {
|
|
1428
|
+
"input": "input.html",
|
|
1429
|
+
"gnd": "gnd.json"
|
|
1430
|
+
}
|
|
1431
|
+
},
|
|
1432
|
+
{
|
|
1433
|
+
"id": "separator-role-aria",
|
|
1434
|
+
"dir": "separator-role-aria",
|
|
1435
|
+
"role": "separator",
|
|
1436
|
+
"description": "separator role via explicit ARIA role=\"separator\"; a purely visual divider with no read-aloud content",
|
|
1437
|
+
"files": {
|
|
1438
|
+
"input": "input.html",
|
|
1439
|
+
"gnd": "gnd.json"
|
|
1440
|
+
}
|
|
1441
|
+
},
|
|
1442
|
+
{
|
|
1443
|
+
"id": "separator-with-glyphs",
|
|
1444
|
+
"dir": "separator-with-glyphs",
|
|
1445
|
+
"role": "separator",
|
|
1446
|
+
"description": "separator role whose visible content is a decorative glyph run (\"* * *\"), not meaningful text",
|
|
1447
|
+
"files": {
|
|
1448
|
+
"input": "input.html",
|
|
1449
|
+
"gnd": "gnd.json"
|
|
1450
|
+
}
|
|
1451
|
+
},
|
|
1452
|
+
{
|
|
1453
|
+
"id": "subtitle-epub-type",
|
|
1454
|
+
"dir": "subtitle-epub-type",
|
|
1455
|
+
"role": "subtitle",
|
|
1456
|
+
"description": "subtitle role via epub:type=\"subtitle\"",
|
|
1457
|
+
"files": {
|
|
1458
|
+
"input": "input.xhtml",
|
|
1459
|
+
"gnd": "gnd.json"
|
|
1460
|
+
}
|
|
1461
|
+
},
|
|
1462
|
+
{
|
|
1463
|
+
"id": "subtitle-role-aria",
|
|
1464
|
+
"dir": "subtitle-role-aria",
|
|
1465
|
+
"role": "subtitle",
|
|
1466
|
+
"description": "subtitle role via explicit ARIA role=\"doc-subtitle\"",
|
|
1467
|
+
"files": {
|
|
1468
|
+
"input": "input.html",
|
|
1469
|
+
"gnd": "gnd.json"
|
|
1470
|
+
}
|
|
1471
|
+
},
|
|
1472
|
+
{
|
|
1473
|
+
"id": "summary-html-native",
|
|
1474
|
+
"dir": "summary-html-native",
|
|
1475
|
+
"role": "summary",
|
|
1476
|
+
"description": "summary role via native <summary> element",
|
|
1477
|
+
"files": {
|
|
1478
|
+
"input": "input.html",
|
|
1479
|
+
"gnd": "gnd.json"
|
|
1480
|
+
}
|
|
1481
|
+
},
|
|
1482
|
+
{
|
|
1483
|
+
"id": "table-caption",
|
|
1484
|
+
"dir": "table-caption",
|
|
1485
|
+
"role": "table",
|
|
1486
|
+
"description": "A table with an accessible name via aria-label — the {description} branch of table's own announcement template. Uses aria-label rather than a native <caption> element since native <caption>/<figcaption> implicit accessible-name folding is not yet implemented (see CONTEXTUALIZATION_PLAN.md)",
|
|
1487
|
+
"files": {
|
|
1488
|
+
"input": "input.html",
|
|
1489
|
+
"gnd": "gnd.json"
|
|
1490
|
+
}
|
|
1491
|
+
},
|
|
1492
|
+
{
|
|
1493
|
+
"id": "table-caption-element-html-native",
|
|
1494
|
+
"dir": "table-caption-element-html-native",
|
|
1495
|
+
"role": "table",
|
|
1496
|
+
"description": "A native <table><caption> with no explicit aria-labelledby — the caption becomes a separate child node with role \"caption\", not folded into the table's own description field. Directly demonstrates the caption-folding gap noted in CONTEXTUALIZATION_PLAN.md: table.md's spec assumes <caption> \"can end up in description\", but that implicit association isn't implemented. Contrast with table-caption (which uses explicit aria-label and does populate description) and table-caption-role-aria (the same un-folded-caption behavior via role=\"caption\")",
|
|
1497
|
+
"files": {
|
|
1498
|
+
"input": "input.html",
|
|
1499
|
+
"gnd": "gnd.json"
|
|
1500
|
+
}
|
|
1501
|
+
},
|
|
1502
|
+
{
|
|
1503
|
+
"id": "table-caption-role-aria",
|
|
1504
|
+
"dir": "table-caption-role-aria",
|
|
1505
|
+
"role": "table",
|
|
1506
|
+
"description": "An ARIA table with an explicit role=\"caption\" child (no aria-labelledby) — same un-folded behavior as table-caption-element-html-native (a separate role \"caption\" child, not folded into the table's own description), confirmed via the explicit-ARIA encoding rather than a native <caption> element",
|
|
1507
|
+
"files": {
|
|
1508
|
+
"input": "input.html",
|
|
1509
|
+
"gnd": "gnd.json"
|
|
1510
|
+
}
|
|
1511
|
+
},
|
|
1512
|
+
{
|
|
1513
|
+
"id": "table-colspan-html-native",
|
|
1514
|
+
"dir": "table-colspan-html-native",
|
|
1515
|
+
"role": "table",
|
|
1516
|
+
"description": "A native columnheader with colspan=\"2\" spanning two data columns — colspan is not read or tracked at all; the second data row's two cells carry no header-association information reflecting that a single header covers both of them. Relevant to the planned cell/rowheader {header}: {value} template work, which needs real column-index tracking to get this right. See table-colspan-role-aria for the aria-colspan equivalent",
|
|
1517
|
+
"files": {
|
|
1518
|
+
"input": "input.html",
|
|
1519
|
+
"gnd": "gnd.json"
|
|
1520
|
+
}
|
|
1521
|
+
},
|
|
1522
|
+
{
|
|
1523
|
+
"id": "table-colspan-role-aria",
|
|
1524
|
+
"dir": "table-colspan-role-aria",
|
|
1525
|
+
"role": "table",
|
|
1526
|
+
"description": "An ARIA columnheader with aria-colspan=\"2\" spanning two data columns — same as table-colspan-html-native's native colspan, aria-colspan is not read or tracked at all either, confirmed via the explicit-ARIA encoding",
|
|
1527
|
+
"files": {
|
|
1528
|
+
"input": "input.html",
|
|
1529
|
+
"gnd": "gnd.json"
|
|
1530
|
+
}
|
|
1531
|
+
},
|
|
1532
|
+
{
|
|
1533
|
+
"id": "table-epub-type",
|
|
1534
|
+
"dir": "table-epub-type",
|
|
1535
|
+
"role": "table",
|
|
1536
|
+
"description": "table role via epub:type=\"table\"/\"table-row\"/\"table-cell\" on neutral <div> elements — the only encoding of table previously untested, despite extensive native/ARIA table coverage. epub:type has no columnheader/rowheader equivalent at all (only table/table-row/table-cell are mapped in epubTypeRoles), so this is necessarily a header-less data grid, same shape as table-no-headers",
|
|
1537
|
+
"files": {
|
|
1538
|
+
"input": "input.xhtml",
|
|
1539
|
+
"gnd": "gnd.json"
|
|
1540
|
+
}
|
|
1541
|
+
},
|
|
1542
|
+
{
|
|
1543
|
+
"id": "table-html-native",
|
|
1544
|
+
"dir": "table-html-native",
|
|
1545
|
+
"role": "table",
|
|
1546
|
+
"description": "A table with a header row and row headers, via native <table>/<tr>/<th>/<td>",
|
|
1547
|
+
"files": {
|
|
1548
|
+
"input": "input.html",
|
|
1549
|
+
"gnd": "gnd.json"
|
|
1550
|
+
}
|
|
1551
|
+
},
|
|
1552
|
+
{
|
|
1553
|
+
"id": "table-in-role-none-wrapper",
|
|
1554
|
+
"dir": "table-in-role-none-wrapper",
|
|
1555
|
+
"role": "table",
|
|
1556
|
+
"description": "A native <table> inside a <div role=\"none\">: a div has no required owned elements, so presentation doesn't reach the table, which keeps its table/row/columnheader/cell roles",
|
|
1557
|
+
"files": {
|
|
1558
|
+
"input": "input.html",
|
|
1559
|
+
"gnd": "gnd.json"
|
|
1560
|
+
}
|
|
1561
|
+
},
|
|
1562
|
+
{
|
|
1563
|
+
"id": "table-nested-html-native",
|
|
1564
|
+
"dir": "table-nested-html-native",
|
|
1565
|
+
"role": "table",
|
|
1566
|
+
"description": "A native <table> nested inside another native table's cell — confirms recursion handles it correctly (the inner table's own row/cell structure resolves independently, nested under the outer cell alongside its own text). See table-nested-role-aria for the ARIA-role equivalent",
|
|
1567
|
+
"files": {
|
|
1568
|
+
"input": "input.html",
|
|
1569
|
+
"gnd": "gnd.json"
|
|
1570
|
+
}
|
|
1571
|
+
},
|
|
1572
|
+
{
|
|
1573
|
+
"id": "table-nested-in-presentation-table",
|
|
1574
|
+
"dir": "table-nested-in-presentation-table",
|
|
1575
|
+
"role": "presentation",
|
|
1576
|
+
"description": "A data table nested in a layout <table role=\"presentation\">: only the outer table's own rows/cells inherit presentation; the inner table keeps its table/row/columnheader/cell roles",
|
|
1577
|
+
"files": {
|
|
1578
|
+
"input": "input.html",
|
|
1579
|
+
"gnd": "gnd.json"
|
|
1580
|
+
}
|
|
1581
|
+
},
|
|
1582
|
+
{
|
|
1583
|
+
"id": "table-nested-role-aria",
|
|
1584
|
+
"dir": "table-nested-role-aria",
|
|
1585
|
+
"role": "table",
|
|
1586
|
+
"description": "An ARIA table (role=\"table\"/role=\"row\"/role=\"cell\") nested inside another ARIA table's cell — same correct recursion as table-nested-html-native, confirmed via the explicit-ARIA encoding",
|
|
1587
|
+
"files": {
|
|
1588
|
+
"input": "input.html",
|
|
1589
|
+
"gnd": "gnd.json"
|
|
1590
|
+
}
|
|
1591
|
+
},
|
|
1592
|
+
{
|
|
1593
|
+
"id": "table-no-headers",
|
|
1594
|
+
"dir": "table-no-headers",
|
|
1595
|
+
"role": "table",
|
|
1596
|
+
"description": "A bare data table with no columnheader/rowheader row at all — the header-less \"{value}\" branch of cell's announcement template",
|
|
1597
|
+
"files": {
|
|
1598
|
+
"input": "input.html",
|
|
1599
|
+
"gnd": "gnd.json"
|
|
1600
|
+
}
|
|
1601
|
+
},
|
|
1602
|
+
{
|
|
1603
|
+
"id": "table-role-aria",
|
|
1604
|
+
"dir": "table-role-aria",
|
|
1605
|
+
"role": "table",
|
|
1606
|
+
"description": "A table with a header row and row headers, via explicit ARIA table/row/columnheader/rowheader/cell roles",
|
|
1607
|
+
"files": {
|
|
1608
|
+
"input": "input.html",
|
|
1609
|
+
"gnd": "gnd.json"
|
|
1610
|
+
}
|
|
1611
|
+
},
|
|
1612
|
+
{
|
|
1613
|
+
"id": "table-role-presentation-explicit-cell",
|
|
1614
|
+
"dir": "table-role-presentation-explicit-cell",
|
|
1615
|
+
"role": "presentation",
|
|
1616
|
+
"description": "A <td role=\"cell\"> in a <table role=\"presentation\"> keeps its explicit role, while its sibling <td> with no role inherits presentation",
|
|
1617
|
+
"files": {
|
|
1618
|
+
"input": "input.html",
|
|
1619
|
+
"gnd": "gnd.json"
|
|
1620
|
+
}
|
|
1621
|
+
},
|
|
1622
|
+
{
|
|
1623
|
+
"id": "table-role-presentation-html-native",
|
|
1624
|
+
"dir": "table-role-presentation-html-native",
|
|
1625
|
+
"role": "presentation",
|
|
1626
|
+
"description": "A native <table role=\"presentation\">: its rows/cells have no explicit role, so they inherit presentation (ARIA presentational inheritance to required owned elements). See table-role-presentation-role-aria for explicit roles, which don't inherit",
|
|
1627
|
+
"files": {
|
|
1628
|
+
"input": "input.html",
|
|
1629
|
+
"gnd": "gnd.json"
|
|
1630
|
+
}
|
|
1631
|
+
},
|
|
1632
|
+
{
|
|
1633
|
+
"id": "table-role-presentation-role-aria",
|
|
1634
|
+
"dir": "table-role-presentation-role-aria",
|
|
1635
|
+
"role": "presentation",
|
|
1636
|
+
"description": "role=\"presentation\" on a wrapper doesn't override descendants' explicit role=\"row\"/\"columnheader\"/\"cell\" (ARIA presentational inheritance skips explicit roles)",
|
|
1637
|
+
"files": {
|
|
1638
|
+
"input": "input.html",
|
|
1639
|
+
"gnd": "gnd.json"
|
|
1640
|
+
}
|
|
1641
|
+
},
|
|
1642
|
+
{
|
|
1643
|
+
"id": "table-rowgroup-role-aria",
|
|
1644
|
+
"dir": "table-rowgroup-role-aria",
|
|
1645
|
+
"role": "table",
|
|
1646
|
+
"description": "An ARIA table with an explicit role=\"rowgroup\" wrapper around its rows — rowgroup is not in GND's role vocabulary at all, so the wrapper is treated as an unknown role and spliced away transparently, same as native <thead>/<tbody>/<tfoot> (see table-sectioning). Captured as a baseline confirming this is consistent across both encodings, not a native-only quirk",
|
|
1647
|
+
"files": {
|
|
1648
|
+
"input": "input.html",
|
|
1649
|
+
"gnd": "gnd.json"
|
|
1650
|
+
}
|
|
1651
|
+
},
|
|
1652
|
+
{
|
|
1653
|
+
"id": "table-rowspan-html-native",
|
|
1654
|
+
"dir": "table-rowspan-html-native",
|
|
1655
|
+
"role": "table",
|
|
1656
|
+
"description": "A native rowheader with rowspan=\"2\" spanning two data rows — rowspan is not read or tracked at all; the second row's cell carries no rowheader association even though the spanned header logically covers it too. Same relevance as table-colspan-html-native for the planned header-association work. See table-rowspan-role-aria for the aria-rowspan equivalent",
|
|
1657
|
+
"files": {
|
|
1658
|
+
"input": "input.html",
|
|
1659
|
+
"gnd": "gnd.json"
|
|
1660
|
+
}
|
|
1661
|
+
},
|
|
1662
|
+
{
|
|
1663
|
+
"id": "table-rowspan-role-aria",
|
|
1664
|
+
"dir": "table-rowspan-role-aria",
|
|
1665
|
+
"role": "table",
|
|
1666
|
+
"description": "An ARIA rowheader with aria-rowspan=\"2\" spanning two data rows — same as table-rowspan-html-native's native rowspan, aria-rowspan is not read or tracked at all either, confirmed via the explicit-ARIA encoding",
|
|
1667
|
+
"files": {
|
|
1668
|
+
"input": "input.html",
|
|
1669
|
+
"gnd": "gnd.json"
|
|
1670
|
+
}
|
|
1671
|
+
},
|
|
1672
|
+
{
|
|
1673
|
+
"id": "table-sectioning",
|
|
1674
|
+
"dir": "table-sectioning",
|
|
1675
|
+
"role": "table",
|
|
1676
|
+
"description": "<thead>/<tbody>/<tfoot> are transparent — their rows flatten directly into the table's children with no rowgroup role or boundary marker of any kind. GND's role vocabulary has no rowgroup role at all (not in roles.md), so this is presumed intentional (grouping is visual-only, not meaningful for read-aloud), but was previously unconfirmed by any fixture — a tfoot row like a totals row is indistinguishable from a tbody row",
|
|
1677
|
+
"files": {
|
|
1678
|
+
"input": "input.html",
|
|
1679
|
+
"gnd": "gnd.json"
|
|
1680
|
+
}
|
|
1681
|
+
},
|
|
1682
|
+
{
|
|
1683
|
+
"id": "table-th-no-scope",
|
|
1684
|
+
"dir": "table-th-no-scope",
|
|
1685
|
+
"role": "table",
|
|
1686
|
+
"description": "A <th> with no scope attribute at all — falls back to a plain cell rather than columnheader/rowheader, since the converter only infers header direction from an explicit scope=\"col\"/\"row\" and does not implement HTML-AAM's implicit header-association algorithm. This is extremely common real-world markup (most authors omit scope), captured here as a baseline, not an endorsement of the current fallback",
|
|
1687
|
+
"files": {
|
|
1688
|
+
"input": "input.html",
|
|
1689
|
+
"gnd": "gnd.json"
|
|
1690
|
+
}
|
|
1691
|
+
},
|
|
1692
|
+
{
|
|
1693
|
+
"id": "term-epub-type",
|
|
1694
|
+
"dir": "term-epub-type",
|
|
1695
|
+
"role": "term",
|
|
1696
|
+
"description": "term role via epub:type=\"glossterm\" on a <dt>, nested in a <dl epub:type=\"glossary\">",
|
|
1697
|
+
"files": {
|
|
1698
|
+
"input": "input.xhtml",
|
|
1699
|
+
"gnd": "gnd.json"
|
|
1700
|
+
}
|
|
1701
|
+
},
|
|
1702
|
+
{
|
|
1703
|
+
"id": "term-html-native",
|
|
1704
|
+
"dir": "term-html-native",
|
|
1705
|
+
"role": "term",
|
|
1706
|
+
"description": "term role via native <dfn> element",
|
|
1707
|
+
"files": {
|
|
1708
|
+
"input": "input.html",
|
|
1709
|
+
"gnd": "gnd.json"
|
|
1710
|
+
}
|
|
1711
|
+
},
|
|
1712
|
+
{
|
|
1713
|
+
"id": "term-role-aria",
|
|
1714
|
+
"dir": "term-role-aria",
|
|
1715
|
+
"role": "term",
|
|
1716
|
+
"description": "term role via explicit ARIA role=\"term\"",
|
|
1717
|
+
"files": {
|
|
1718
|
+
"input": "input.html",
|
|
1719
|
+
"gnd": "gnd.json"
|
|
1720
|
+
}
|
|
1721
|
+
},
|
|
1722
|
+
{
|
|
1723
|
+
"id": "tip-epub-type",
|
|
1724
|
+
"dir": "tip-epub-type",
|
|
1725
|
+
"role": "tip",
|
|
1726
|
+
"description": "tip role via epub:type=\"tip\" on an <aside>",
|
|
1727
|
+
"files": {
|
|
1728
|
+
"input": "input.xhtml",
|
|
1729
|
+
"gnd": "gnd.json"
|
|
1730
|
+
}
|
|
1731
|
+
},
|
|
1732
|
+
{
|
|
1733
|
+
"id": "tip-role-aria",
|
|
1734
|
+
"dir": "tip-role-aria",
|
|
1735
|
+
"role": "tip",
|
|
1736
|
+
"description": "tip role via explicit ARIA role=\"doc-tip\"",
|
|
1737
|
+
"files": {
|
|
1738
|
+
"input": "input.html",
|
|
1739
|
+
"gnd": "gnd.json"
|
|
1740
|
+
}
|
|
1741
|
+
},
|
|
1742
|
+
{
|
|
1743
|
+
"id": "toc-epub-type",
|
|
1744
|
+
"dir": "toc-epub-type",
|
|
1745
|
+
"role": "toc",
|
|
1746
|
+
"description": "A table-of-contents navigation list, containing links to sectional headings, via epub:type",
|
|
1747
|
+
"files": {
|
|
1748
|
+
"input": "input.xhtml",
|
|
1749
|
+
"gnd": "gnd.json"
|
|
1750
|
+
}
|
|
1751
|
+
},
|
|
1752
|
+
{
|
|
1753
|
+
"id": "toc-role-aria",
|
|
1754
|
+
"dir": "toc-role-aria",
|
|
1755
|
+
"role": "toc",
|
|
1756
|
+
"description": "A table-of-contents navigation list, containing links to sectional headings, via explicit ARIA role",
|
|
1757
|
+
"files": {
|
|
1758
|
+
"input": "input.html",
|
|
1759
|
+
"gnd": "gnd.json"
|
|
1760
|
+
}
|
|
1761
|
+
},
|
|
1762
|
+
{
|
|
1763
|
+
"id": "video-html-native",
|
|
1764
|
+
"dir": "video-html-native",
|
|
1765
|
+
"role": "video",
|
|
1766
|
+
"description": "video role via native <video src> element, with an aria-label as the accessible description",
|
|
1767
|
+
"files": {
|
|
1768
|
+
"input": "input.html",
|
|
1769
|
+
"gnd": "gnd.json"
|
|
1770
|
+
}
|
|
1771
|
+
},
|
|
1772
|
+
{
|
|
1773
|
+
"id": "video-no-description",
|
|
1774
|
+
"dir": "video-no-description",
|
|
1775
|
+
"role": "video",
|
|
1776
|
+
"description": "video role via native <video src> element, with no accessible name at all",
|
|
1777
|
+
"files": {
|
|
1778
|
+
"input": "input.html",
|
|
1779
|
+
"gnd": "gnd.json"
|
|
1780
|
+
}
|
|
1781
|
+
}
|
|
1782
|
+
]
|