nlbdev / nordic-epub3-dtbook-migrator

Tools for converting between a strict subset of DTBook and EPUB3.
http://nlbdev.github.io/nordic-epub3-dtbook-migrator/
GNU Lesser General Public License v2.1
8 stars 7 forks source link

Aria-labelledby-ID:s are not checked in validation #551

Open oscarlcarlsson opened 1 year ago

oscarlcarlsson commented 1 year ago

According to 3.1 Structural Divisons and Semantics in the 2020-1 guidelines "all section elements are required to have a label. When the section has a heading, usually h1, h2, etc., the heading serves as a label but must be associated with the section element. This is done by using the aria-labelledby attribute and setting the id of the associated header as value:"

I have been running some validation tests on old files and just noticewd that neither the old or the new validator seems to check for this. Should this be inlcuded in the validation?