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
The W3C pubrules checker is complaining to me about invalid HTML:
Element “dl” is missing a required instance of child element “dd”.
The immediate culprit seems to be the restrictReferences script in resolveReferences.js: It removes the <dd> definitions, and the <dfn> wrapping the term, but not the <dt>.
I'm not quite sure why there are redundant <dfn> inside <dt> in the first place, and maybe the person who wrote the script wasn't expecting them, either? I haven't taken the time to review the JS code, so I don't know how easy a fix it will be.
Regardless: all these empty <dt> elements are invisible in the final visual layout, but not to pubchecker & maybe not screenreader users.
The text was updated successfully, but these errors were encountered:
The W3C pubrules checker is complaining to me about invalid HTML:
The immediate culprit seems to be the
restrictReferences
script in resolveReferences.js: It removes the<dd>
definitions, and the<dfn>
wrapping the term, but not the<dt>
.I'm not quite sure why there are redundant
<dfn>
inside<dt>
in the first place, and maybe the person who wrote the script wasn't expecting them, either? I haven't taken the time to review the JS code, so I don't know how easy a fix it will be.Regardless: all these empty
<dt>
elements are invisible in the final visual layout, but not to pubchecker & maybe not screenreader users.The text was updated successfully, but these errors were encountered: