Description
Description
Lines 3747 to 3756 in 0bf0734
This isn't semantically correct. The
h2
of "notes" would need to be inside thesection
element, as asection
generally requires a heading element to denote it.It could be argued that of the two, the
aside
is actually a more appropriate element, but it too would need theh2
to be within it as well. Anaside
does not require a heading element within it, but if one appears for it, it must appear within it.The MOST semantic, and likely correct route, would be for the endnotes to appear (with the associated
h2
) within afooter
element (instead of asection
oraside
). As they are meant to be footnotes for themain
section, that is the next parent level sectioning element and they would then be semantically associated as the "footer of the main area", which is much more accurate to what the footnotes are in this case.sooo...
<footer> <h2 id="notes">Notes</h2> notes here </footer> </main>As
divs
are semantically meaningless whether it appears before or after the closingdiv
tag is semantically irrelevant, just whichever one wouldn't throw off the visual styling.
Expectation
HTML should be semantic and provide best possible support for accessibility aids
Metadata
Metadata
Assignees
Labels
Type
Projects
Status