You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
edupub (non-h1..h6) heading not recognized as section heading #1483
when validating with epubcheck 5.0.0 under the EDUPUB profile, I get the following error:
epubcheck error: ERROR(RSC-005): […]: Error while parsing file: section does not have a heading.
https://idpf.org/epub/profiles/edu/spec/#h.frvc45xf6cia 3rd paragraph suggests that I should be able to use aria-labelledby to associate the section with its heading, which cannot be a ranked HTML5 heading at that place due to p's content model restriction. That is why I use role="heading" and aria-level="1" as the equivalent to h1.
Is this an epubcheck issue, EDUPUB issue, or me misunderstanding the relevant spec's wording?
Activity
rdeltour commentedon Feb 3, 2023
This may be a limitation in EPUBCheck, at first sight the markup looks legit.
The checks for EDUPUB are quite old and I don't remember if ARIA-defined headings are supported. I'll have a look. Thanks for the report!
mattgarrish commentedon Feb 3, 2023
Edupub is kind of dead at this point, too. There's a new education task force in the Publishing Community Group looking into publishing requirements for education. You can find some info on it here https://www.w3.org/events/meetings/9ce5bd96-5a87-4448-a4ba-7fafafb9dcdf/20230208T100000
fix: allow ARIA headings in EDUPUB (legacy profile)