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
Unnecessary <footer> tag within <article> section of note.tpl.php #4989
Comments
I disagree.
Source: https://www.brucelawson.co.uk/2009/marking-up-a-blog-with-html-5-part-2/ |
Uh, that's exactly what is found there - the submitted info (author name/photo, date, etc.).
Then that's a bug with the styling, not the markup. There can be multiple |
I agree with your finding, Peter, and that's why I used "unnecessary", not "invalid" in the title. If the
and also it doesn't seem to carry any other meaningful purpose here. |
Going to mark this as a question until we can get some concensus that this is indeed a 'bug'... |
I think we interpret the description for the section's purpose differently. Imagine a large scientific work with multiple contributors and lot's of references to other sources, so then using multiple However, in this case we are talking about the picture of the person who created the node, but not even necessarily the author of the entry. Also if it's the single user picture for the page excluding the possibility to use multiple The official HTML Standard documentation on https://html.spec.whatwg.org/multipage/sections.html#the-footer-element says:
which, in my opinion, implies that for consistency purposes we should then provide the |
Description of the bug
Enabled user pictures, created a node and inspecting the HTML-source near the output author's user picture, I noticed the
<footer>
tag as shown below:Per HTML standards https://html.spec.whatwg.org/multipage/sections.html#the-footer-element:
However, in our case nothing like that is found in between the opening and closing
<footer>
tags. Moreover, the use of<footer>
tag in the<article>
section here could be semantically and logically justified if it also had corresponding<header>
and other sections. It looks strange that the<footer>
tag appears just after section starts.And with the main
<footer>
tag further down (near</body>
) this one could cause conflicts when styling. So I suggest to just remove the tag.The text was updated successfully, but these errors were encountered: