Skip to content

Commit 84a0979

Browse files
authored
feat(ARIA): allow doc-epigraph on 'section' and doc-cover on 'img'
* allows doc-epigraph on section and also allows doc-cover on img * the role additions are their respective schema files now that the PR to the validator code base has been accepted
1 parent cec01fe commit 84a0979

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/main/resources/com/adobe/epubcheck/schema/30/mod/html5/embed.rnc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ namespace local = ""
5454
| common.attrs.aria.role.switch
5555
| common.attrs.aria.role.tab
5656
| common.attrs.aria.role.treeitem
57+
| common.attrs.aria.role.doc-cover
5758
)?
5859
)
5960

src/main/resources/com/adobe/epubcheck/schema/30/mod/html5/structural.rnc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
| common.attrs.aria.role.doc-credits
4141
| common.attrs.aria.role.doc-dedication
4242
| common.attrs.aria.role.doc-endnotes
43+
| common.attrs.aria.role.doc-epigraph
4344
| common.attrs.aria.role.doc-epilogue
4445
| common.attrs.aria.role.doc-errata
4546
| common.attrs.aria.role.doc-example

0 commit comments

Comments
 (0)