Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR for role="doc-epigraph" #1055

Closed
flittle8 opened this issue Jul 9, 2019 · 3 comments
Closed

ERROR for role="doc-epigraph" #1055

flittle8 opened this issue Jul 9, 2019 · 3 comments
Labels
type: not an issue The issue is rejected (not an actual issue or not relevant)

Comments

@flittle8
Copy link

flittle8 commented Jul 9, 2019

I'm getting an error when role="doc-epigraph" is used on a section tag. here is the code and attached error. I'm on Epub-check 4.2.1.

 <section epub:type="epigraph" role="doc-epigraph">
    <h1 id="epigraph">Epigraph</h1>
    <blockquote class="quote">
    <p>I want you ot know, if you ever read this, there was a time when I would rather have had you by my side than any one of these words; I would rather have ahd you by my side than all the blue in the world.</p>
    <p><cite>—Maggie Nelson</cite></p>
    </blockquote>
    </section>

Screen Shot 2019-07-09 at 10 36 19 AM

@rdeltour
Copy link
Member

rdeltour commented Jul 9, 2019

Currently, doc-epigraph is not allowed on section elements, as per the ARIA in HTML specification, so EPUBCheck is correct in reporting that.

Note that whether doc-epigraph should be allowed on section elements is still open for debate by the Digital Publishing Working Group, so this situation might change in the future…

See also daisy/ace#234 where this was discussed recently.

@rdeltour rdeltour added the type: not an issue The issue is rejected (not an actual issue or not relevant) label Jul 9, 2019
@rdeltour
Copy link
Member

rdeltour commented Jul 9, 2019

Closing as invalid as EPUBCheck behaves as intended. Feel free to keep on commenting!

@rdeltour rdeltour closed this as completed Jul 9, 2019
@flittle8
Copy link
Author

flittle8 commented Jul 9, 2019

@rdeltour thanks, good to know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: not an issue The issue is rejected (not an actual issue or not relevant)
Projects
None yet
Development

No branches or pull requests

2 participants